From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix Date: Fri, 15 Jun 2018 09:40:59 -0400 Message-ID: <87po0snp5g.fsf@netris.org> References: <8736xopz0q.fsf@netris.org> <87bmccuwbu.fsf@mdc-berlin.de> <87o9gctgrm.fsf@gnu.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]:49667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTp0M-0000v4-Sz for bug-guix@gnu.org; Fri, 15 Jun 2018 09:43:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTp0I-0006xv-SR for bug-guix@gnu.org; Fri, 15 Jun 2018 09:43:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41215) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTp0I-0006xr-OT for bug-guix@gnu.org; Fri, 15 Jun 2018 09:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fTp0I-0007LR-Gx for bug-guix@gnu.org; Fri, 15 Jun 2018 09:43:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87o9gctgrm.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 15 Jun 2018 13:45:33 +0200") 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31841@debbugs.gnu.org, Ricardo Wurmus ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Ricardo Wurmus skribis: > >> We could fix this by recording more of the configured >> GUILE_LOAD_{,COMPILED_}PATH and setting it up at runtime with >> pre-inst-env. Thanks, Ricardo. For now, I've changed my local 'guix' script to this: #!/bin/sh source /var/guix/gcroots/per-user/mhw/environment-guix/etc/profile exec /home/mhw/guix/pre-inst-env guix "$@" Where /var/guix/gcroots/per-user/mhw/environment-guix is a symlink pointing to the profile created by 'guix environment guix'. I update this environment periodically, as needed. > I=E2=80=99m a bit reluctant to that, in part because it=E2=80=99s a devel= opment > environment where we can have different expectations IMO. If there's a good reason to avoid implementing Ricardo's suggestion, I don't mind keeping my modified 'guix' script above, but I confess that I don't yet understand the cause of your reluctance. Anyway, it seems that my practice of running 'guix' from a private git checkout is becoming increasingly awkward to arrange. I would be pleased if this mode of operation were better supported. Regards, Mark