GNU bug report logs -
#69397
guix import crate misses dependencies
Previous Next
To reply to this bug, email your comments to 69397 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#69397
; Package
guix
.
(Mon, 26 Feb 2024 00:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nathan Dehnel <ncdehnel <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 26 Feb 2024 00:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Run for example: guix import crate -r --recursive-dev-dependencies -
-allow-yanked egui_dock <at> 0.11
this will import a bunch of packages that require rust-bytemuck-1 as a
dependency, but it will not be included, and must be imported
separately.
guix 313458c
Information forwarded
to
bug-guix <at> gnu.org
:
bug#69397
; Package
guix
.
(Mon, 26 Feb 2024 00:56:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 69397 <at> debbugs.gnu.org (full text, mbox):
Hi Nathan,
I just tried running your example:
On Sun, Feb 25 2024, Nathan Dehnel wrote:
> guix import crate -r --recursive-dev-dependencies --allow-yanked egui_dock <at> 0.11
I saw that rust-bytemuck-1 was included as an input in lots of packages,
as you said. However, I also noticed that bytemuck is present in
Guix. "guix edit rust-bytemuck" opened gnu/packages/crates-io.scm which
defines the rust-bytemuck-1 variable to a package for rust-bytemuck.
Rather than importing bytemuck separately, it should be enough to add
(use-modules (gnu packages crates-io)) at the top of your scheme file to
bring the Guix definition in.
Carlo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#69397
; Package
guix
.
(Mon, 26 Feb 2024 02:24:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 69397 <at> debbugs.gnu.org (full text, mbox):
Oh, my bad. Yeah, I just had my modules wrong. Thanks.
On Sun, Feb 25, 2024 at 6:46 PM Carlo Zancanaro <carlo <at> zancanaro.id.au> wrote:
>
> Hi Nathan,
>
> I just tried running your example:
>
> On Sun, Feb 25 2024, Nathan Dehnel wrote:
> > guix import crate -r --recursive-dev-dependencies --allow-yanked egui_dock <at> 0.11
>
> I saw that rust-bytemuck-1 was included as an input in lots of packages,
> as you said. However, I also noticed that bytemuck is present in
> Guix. "guix edit rust-bytemuck" opened gnu/packages/crates-io.scm which
> defines the rust-bytemuck-1 variable to a package for rust-bytemuck.
>
> Rather than importing bytemuck separately, it should be enough to add
> (use-modules (gnu packages crates-io)) at the top of your scheme file to
> bring the Guix definition in.
>
> Carlo
This bug report was last modified 358 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.