help-guix
[Top][All Lists]
Advanced

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

Re: Guix and $XDG_DATA_DIRS


From: Ricardo Wurmus
Subject: Re: Guix and $XDG_DATA_DIRS
Date: Fri, 12 Apr 2019 11:11:31 +0200
User-agent: mu4e 1.0; emacs 26.1

HiPhish <address@hidden> writes:

> On Friday, 12 April 2019 01:04:02 CEST Luther Thompson wrote:
>> Ok, so the profile and search-paths both have the same problem. I'll
>> have to dig into the source code to see if I can find a root cause.
>> Hopefully in the meantime, someone who knows about this stuff can come
>> up with an answer.
>> 
>> Luther
>
> Now that I have looked into it, there are other variables that haven't been 
> defined as well that I had to define in my .profile file:
>
> export GUIX_LOCPATH="$GUIX_PROFILE/lib/locale"
> export INFOPATH="$HOME/.config/guix/current/share/info:$INFOPATH"
> export CPATH="$HOME/.guix-profile/include/":$CPATH
> export LD_LIBRARY_PATH="$HOME/.guix-profile/lib/":$LD_LIBRARY_PATH

You shouldn’t set this one.  If you’re concerned about GCC not finding
libraries you should use LIBRARY_PATH, not LD_LIBRARY_PATH.

When installing gcc-toolchain, however, CPATH and LIBRARY_PATH should be
set automatically.

Generally, the search path variables are set automatically when an
installed package declares a search path.

GUIX_LOCPATH, SSL_CERT_DIR, SSL_CERT_FILE, and GIT_SSL_CAINFO are not
search paths and are thus not set automatically.

-- 
Ricardo




reply via email to

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