From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#34468: guix pull: wrong %system when using --system flag Date: Sun, 17 Feb 2019 00:06:52 +0100 Message-ID: <87a7ivfi43.fsf@gnu.org> References: <87ftsrj1rz.fsf@GlaDOS.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gv931-0000Tf-1J for bug-guix@gnu.org; Sat, 16 Feb 2019 18:07:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gv930-0000u3-D7 for bug-guix@gnu.org; Sat, 16 Feb 2019 18:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gv930-0000ts-9C for bug-guix@gnu.org; Sat, 16 Feb 2019 18:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gv92z-0000P3-W3 for bug-guix@gnu.org; Sat, 16 Feb 2019 18:07:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87ftsrj1rz.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Wed, 13 Feb 2019 13:44:48 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Diego Nicola Barbato Cc: 34468-done@debbugs.gnu.org Hello, Diego Nicola Barbato skribis: > When running =E2=80=98guix pull=E2=80=99 with the --system flag the resul= ting guix is > configured for the host architecture instead of the target > architecture (i.e. the %system variable in =E2=80=98(guix config)=E2=80= =99 is set to the > host architecture instead of the target architecture). > > E.g. after running =E2=80=98guix pull -p test -s i686-linux=E2=80=99 on a= n x86_64 host > the file test/share/guile/site/2.2/guix/config.scm will contain the > declaration =E2=80=98(define-public %system "x86_64-linux")=E2=80=99. Should be fixed by 54eadc42d2a5ef748a7f007516cd3d56ca17c07e. > I run what was formerly known as GuixSD (commit: 571a01d) on x86_64. =E2=80=9CThe system formerly know as GuixSD=E2=80=9D, I like that phrase. = :-) Thanks, Ludo=E2=80=99.