From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Guix and $XDG_DATA_DIRS Date: Fri, 12 Apr 2019 11:11:31 +0200 Message-ID: <87pnpr37wc.fsf@elephly.net> References: <4716913.Tid4HlZl5B@aleksandar-ixtreme-m5740> <4018241.0B4PCf8AuZ@aleksandar-ixtreme-m5740> <20190411190402.4852bbbc@gmail.com> <1622016.eWbK88MbK9@aleksandar-ixtreme-m5740> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEsE6-0002dl-0A for help-guix@gnu.org; Fri, 12 Apr 2019 05:12:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEsE5-000303-3N for help-guix@gnu.org; Fri, 12 Apr 2019 05:12:01 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hEsE4-0002yp-EH for help-guix@gnu.org; Fri, 12 Apr 2019 05:12:01 -0400 In-reply-to: <1622016.eWbK88MbK9@aleksandar-ixtreme-m5740> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: HiPhish Cc: help-guix@gnu.org HiPhish 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. >>=20 >> Luther > > Now that I have looked into it, there are other variables that haven't be= en=20 > defined as well that I had to define in my .profile file: > > export GUIX_LOCPATH=3D"$GUIX_PROFILE/lib/locale" > export INFOPATH=3D"$HOME/.config/guix/current/share/info:$INFOPATH" > export CPATH=3D"$HOME/.guix-profile/include/":$CPATH > export LD_LIBRARY_PATH=3D"$HOME/.guix-profile/lib/":$LD_LIBRARY_PATH You shouldn=E2=80=99t set this one. If you=E2=80=99re 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. --=20 Ricardo