[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session i
From: |
Ludovic Courtès |
Subject: |
bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls) |
Date: |
Wed, 17 Jan 2018 09:54:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Heya,
Leo Famulari <address@hidden> skribis:
> On Tue, Jan 16, 2018 at 04:40:30PM -0200, Adonay Felipe Nogueira wrote:
>> 2017-12-04T10:07:40+0100 Ludovic Courtès wrote:
>> > Hello,
>> >
>> > The problem is that the (gnutls) module is not in the search path of
>> > ‘guix substitute’.
>> >
>> > Usually the solution is to start the daemon using something like:
>> >
>> > sudo -E ./pre-inst-env guix-daemon …
>> >
>> > so that ‘guix-daemon’ inherits the correct values for ‘GUILE_LOAD_PATH’,
>> > 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’m not sure why it was reverted in the first 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’.