From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls) Date: Wed, 17 Jan 2018 09:54:49 +0100 Message-ID: <87lggw7tly.fsf@gnu.org> References: <878ten4h8j.fsf@hyperbola.info> <87d13urhcz.fsf@gnu.org> <87vag1ve8x.fsf@hyperbola.info> <20180116204430.GB18014@jasmine.lan> 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]:54615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebjUw-0000R9-U9 for bug-guix@gnu.org; Wed, 17 Jan 2018 03:55:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebjUr-0002KJ-V9 for bug-guix@gnu.org; Wed, 17 Jan 2018 03:55:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebjUr-0002KB-RR for bug-guix@gnu.org; Wed, 17 Jan 2018 03:55:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ebjUr-0000z7-KS for bug-guix@gnu.org; Wed, 17 Jan 2018 03:55:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180116204430.GB18014@jasmine.lan> (Leo Famulari's message of "Tue, 16 Jan 2018 12:44:30 -0800") 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: Leo Famulari Cc: 29519@debbugs.gnu.org Heya, Leo Famulari skribis: > On Tue, Jan 16, 2018 at 04:40:30PM -0200, Adonay Felipe Nogueira wrote: >> 2017-12-04T10:07:40+0100 Ludovic Court=C3=A8s wrote: >> > Hello, >> > >> > The problem is that the (gnutls) module is not in the search path of >> > =E2=80=98guix substitute=E2=80=99. >> > >> > Usually the solution is to start the daemon using something like: >> > >> > sudo -E ./pre-inst-env guix-daemon =E2=80=A6 >> > >> > so that =E2=80=98guix-daemon=E2=80=99 inherits the correct values for = =E2=80=98GUILE_LOAD_PATH=E2=80=99, >> > etc. >> > >> > Does that work for you? >> > >> > We used to have this suggestion in the doc, but it was reverted in >> > commit 73a203450d21241eca50375aeb26fb418b287414. Leo, do you think we >> > can reinstate it? I=E2=80=99m not sure why it was reverted in the fir= st place. > > I missed this request previously :/ > > Originally, I reverted the suggestion because it was causing problems > for some users on #guix, and I thought it was risky to propagate the > user's environment into a privileged context. > > But perhaps it's not any more risky than using sudo, in general. > > Ludo, please let me know if you'd still like me to reinstate the advice > to use `sudo -E`. I think you can reinstate it, perhaps with a word of caution explaining what -E does? Thanks, Ludo=E2=80=99.