From mboxrd@z Thu Jan 1 00:00:00 1970 From: ison Subject: Re: Package recommended environment variables Date: Fri, 17 May 2019 18:52:56 -0600 Message-ID: <20190518005256.s7xs65j3irtorwul@cf0> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRnb7-0003zj-7P for help-guix@gnu.org; Fri, 17 May 2019 20:53:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRnb6-0005uF-1e for help-guix@gnu.org; Fri, 17 May 2019 20:53:13 -0400 Received: from [2a06:1700:0:b:1::1] (port=55366 helo=cock.li) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRnb3-0005ir-Bw for help-guix@gnu.org; Fri, 17 May 2019 20:53:10 -0400 Content-Disposition: inline In-Reply-To: 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: Tk Cc: help-guix@gnu.org Somebody correct me if I'm wrong, but don't these always get placed into ~/.guix-profile/etc/profile Right now mine seems almost identical to the output of guix package --search-paths with the only difference being that the values in that file are prepended to the existing ones. Therefore all you should have to do to ensure you always have the right vars is to just source that file. I have this in my ~/.profile and as far as I can tell it always gives me any vars that guix tells me to set [[ -f /etc/profile ]] && source /etc/profile [[ -f ${HOME}/.guix-profile/etc/profile ]] && source ${HOME}/.guix-profile/etc/profile