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: Wed, 20 Jun 2018 16:06:58 +0200 Message-ID: <87bmc5sgal.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> <87wouxjft9.fsf@gnu.org> <87o9g6zot6.fsf@g1.i-did-not-set--mail-host-address--so-tickle-me> 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]:38703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVdmJ-0006S0-OR for bug-guix@gnu.org; Wed, 20 Jun 2018 10:08:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVdmE-0004oa-3S for bug-guix@gnu.org; Wed, 20 Jun 2018 10:08:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVdmD-0004oW-Vb for bug-guix@gnu.org; Wed, 20 Jun 2018 10:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVdmD-0000a9-Pe for bug-guix@gnu.org; Wed, 20 Jun 2018 10:08:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87o9g6zot6.fsf@g1.i-did-not-set--mail-host-address--so-tickle-me> (myglc2's message of "Tue, 19 Jun 2018 13:08:53 -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: myglc2@gmail.com Cc: 31841@debbugs.gnu.org, Ricardo Wurmus Hello, myglc2@gmail.com skribis: > On 06/17/2018 at 22:53 Ludovic Court=C3=A8s writes: > >> 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 = bootstrapping >> 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 c= an run: >> >> $(make as-derivation)/bin/guix environment guix > > Nice! This is news to me. Thank you for pointing it out. > > Does 'make as-derivation' set the "current" symlink normally set by > 'guix pull'? Not at all; only =E2=80=98guix pull=E2=80=99 does. Ludo=E2=80=99.