From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix Date: Sun, 17 Jun 2018 22:53:06 +0200 Message-ID: <87wouxjft9.fsf@gnu.org> References: <8736xopz0q.fsf@netris.org> <87bmccuwbu.fsf@mdc-berlin.de> <87o9gctgrm.fsf@gnu.org> <87po0snp5g.fsf@netris.org> <87602kro0h.fsf@gnu.org> <874li31wx7.fsf@g1.i-did-not-set--mail-host-address--so-tickle-me> <87sh5nqgtf.fsf@gnu.org> <87po0r3vsn.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUegV-0000Jp-6g for bug-guix@gnu.org; Sun, 17 Jun 2018 16:54:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUegU-0007ls-5y for bug-guix@gnu.org; Sun, 17 Jun 2018 16:54:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46190) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUegU-0007lm-1o for bug-guix@gnu.org; Sun, 17 Jun 2018 16:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUegT-00041Q-SD for bug-guix@gnu.org; Sun, 17 Jun 2018 16:54:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87po0r3vsn.fsf@netris.org> (Mark H. Weaver's message of "Sat, 16 Jun 2018 05:50:00 -0400") 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: Mark H Weaver Cc: myglc2@gmail.com, 31841@debbugs.gnu.org, Ricardo Wurmus Hello, Mark H Weaver skribis: > I should emphasize that when running Guix this way, if you wish to avoid > running 'guix pull', it's important to always keep at least one > known-good development environment for Guix saved as a GC root. Toward > that end, when I run "guix environment guix" to update my development > environment profile, I make sure to preserve my previous profile as a GC > root until I'm confident that my new profile is working. The =E2=80=9Cmake as-derivation=E2=80=9D command aims to help with this boo= tstrapping problem: given an already installed Guix, it builds your checkout and its dependencies like =E2=80=98guix pull=E2=80=99 would do. Thus, you can = run: $(make as-derivation)/bin/guix environment guix This is just a first step, but I think =E2=80=9Cmake=E2=80=9D and =E2=80=9C= make as-derivation=E2=80=9D/=E2=80=9Cguix pull=E2=80=9D should converge because = there=E2=80=99s clearly some overlap. Ludo=E2=80=99.