guix pull: wrong %system when using --system flag

  • Done
  • quality assurance status badge
Details
2 participants
  • Diego Nicola Barbato
  • Ludovic Courtès
Owner
unassigned
Submitted by
Diego Nicola Barbato
Severity
normal
D
D
Diego Nicola Barbato wrote on 13 Feb 2019 13:44
(address . bug-guix@gnu.org)
87ftsrj1rz.fsf@GlaDOS.home
Hello Guix,

When running ‘guix pull’ with the --system flag the resulting guix is
configured for the host architecture instead of the target
architecture (i.e. the %system variable in ‘(guix config)’ is set to the
host architecture instead of the target architecture).

E.g. after running ‘guix pull -p test -s i686-linux’ on an x86_64 host
the file test/share/guile/site/2.2/guix/config.scm will contain the
declaration ‘(define-public %system "x86_64-linux")’.

I run what was formerly known as GuixSD (commit: 571a01d) on x86_64.

Regards,

Diego
L
L
Ludovic Courtès wrote on 17 Feb 2019 00:06
(name . Diego Nicola Barbato)(address . dnbarbato@posteo.de)(address . 34468-done@debbugs.gnu.org)
87a7ivfi43.fsf@gnu.org
Hello,

Diego Nicola Barbato <dnbarbato@posteo.de> skribis:

Toggle quote (9 lines)
> When running ‘guix pull’ with the --system flag the resulting guix is
> configured for the host architecture instead of the target
> architecture (i.e. the %system variable in ‘(guix config)’ is set to the
> host architecture instead of the target architecture).
>
> E.g. after running ‘guix pull -p test -s i686-linux’ on an x86_64 host
> the file test/share/guile/site/2.2/guix/config.scm will contain the
> declaration ‘(define-public %system "x86_64-linux")’.

Should be fixed by 54eadc42d2a5ef748a7f007516cd3d56ca17c07e.

Toggle quote (2 lines)
> I run what was formerly known as GuixSD (commit: 571a01d) on x86_64.

“The system formerly know as GuixSD”, I like that phrase. :-)

Thanks,
Ludo’.
Closed
?