GNU bug report logs -
#42410
Copying nars between stores fails for packages with multiple outputs
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Fri, 17 Jul 2020 20:44:02 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
Leo Famulari <leo <at> famulari.name> skribis:
> Exporting a nar and importing it on another machine only works when the
> package being built has a single output.
Note that “guix archive --export foo” only exports foo:out. If you want
to export other outputs, you have to explicitly list them.
> I set up a signing-key on the sending machine, authorized it on the
> receiving machine, and successfully transferred some nars of
> single-output packages. I say they succeeded because `guix build
> --no-grafts foo` did not need to build foo after having imported the nar
> archive built on the other machine.
‘guix build’ starts building unless all the outputs of the package are
already in the store.
> However, it fails for packages with multiple outputs such as Syncthing
> and libsmf.
Could it be that you copied only one output of the package, and thus
‘guix build’ considered it had to build it because the other outputs
were missing?
Thanks,
Ludo’.
This bug report was last modified 4 years and 307 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.