From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adonay Felipe Nogueira Subject: bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls) Date: Tue, 16 Jan 2018 16:40:30 -0200 Message-ID: <87vag1ve8x.fsf@hyperbola.info> References: <878ten4h8j.fsf@hyperbola.info> <87d13urhcz.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]:35985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebWAU-0000EU-1u for bug-guix@gnu.org; Tue, 16 Jan 2018 13:41:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebWAQ-0003Wl-0D for bug-guix@gnu.org; Tue, 16 Jan 2018 13:41:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51160) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebWAP-0003Wf-TS for bug-guix@gnu.org; Tue, 16 Jan 2018 13:41:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ebWAP-0002cS-Mc for bug-guix@gnu.org; Tue, 16 Jan 2018 13:41:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d13urhcz.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 04 Dec 2017 10:07:40 +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: 29519@debbugs.gnu.org I didn't test this yet, but I was wondering about `sudo' "-E"/"--preserve-env" option, wasn't it dropped because it would conflict with other variables that the user has? Or better yet, because it would take package definitions from other places? 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 first = place. > > Thanks, > Ludo=E2=80=99. >