guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix can't find (gnutls)


From: Alex Kost
Subject: Re: guix can't find (gnutls)
Date: Sun, 05 Feb 2017 22:23:49 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Federico Beffa (2017-02-05 11:48 +0100) wrote:

> On Sat, Feb 4, 2017 at 8:02 PM, Alex Kost <address@hidden> wrote:
>> Federico Beffa (2017-02-04 15:50 +0100) wrote:
>>
>>> Hi,
>>>
>>> for some reason Guix can't find (gnutls) despite the module being
>>> installed and usable in Guile:
>> [...]
>>> Any suggestion?
>>
>> Check that guix-daemon is also started with GUILE_LOAD_[COMPILED_]PATH
>> environment containing gnutls modules.
>
>
> That's it!
>
> I was test starting the daemon with "sudo guix-daemon
> --build-users-group=guixbuild" from a shell with the GUILE_*
> environment variables set correctly and things didn't work. Now I
> defined those variables in the guix-daemon.system systemd unit and
> things do work (I'm on Debian testing). I'm not sure of why the formed
> didn't work, but the latter did it.

I think that's because when you run "sudo guix-daemon" your environment
was not preserved; if you run "sudo -E guix-daemon", it would work.

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]