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è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. > > Thanks, > Ludo’. >