From mboxrd@z Thu Jan 1 00:00:00 1970 From: HiPhish Subject: Re: Guix and $XDG_DATA_DIRS Date: Fri, 12 Apr 2019 08:11:09 +0200 Message-ID: <1622016.eWbK88MbK9@aleksandar-ixtreme-m5740> References: <4716913.Tid4HlZl5B@aleksandar-ixtreme-m5740> <4018241.0B4PCf8AuZ@aleksandar-ixtreme-m5740> <20190411190402.4852bbbc@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEpP8-0000qx-Vg for help-guix@gnu.org; Fri, 12 Apr 2019 02:11:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEpP7-00061J-QK for help-guix@gnu.org; Fri, 12 Apr 2019 02:11:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33863) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hEpP7-00060c-1o for help-guix@gnu.org; Fri, 12 Apr 2019 02:11:13 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C32902400FC for ; Fri, 12 Apr 2019 08:11:10 +0200 (CEST) In-Reply-To: <20190411190402.4852bbbc@gmail.com> 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: Luther Thompson Cc: help-guix@gnu.org 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 export XDG_DATA_DIRS="$GUIX_PROFILE/share/":$XDG_DATA_DIRS # SSL certificates (after installing 'nss-certs') export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs" export SSL_CERT_FILE="$GUIX_PROFILE/etc/ssl/certs/ca-certificates.crt" export GIT_SSL_CAINFO="$SSL_CERT_FILE" I don't know if all of these should have been defined by Guix, but I have listed them anyway. I could live with $XDG_DATA_DIRS not always being up to date, but now I noticed that `guix environment --ad-hoc whatever` does not make C libraries available for working on local projects because $CPATH AND $LD_LIBRARY_PATH are not set.