From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jorge" Subject: Re: Best practices for Guix environment variables on foreign distro Date: Mon, 12 Mar 2018 22:32:02 +0000 Message-ID: <9ddb4d85bc942b4de03d92b309be3998@disroot.org> References: <873715siwu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evVzH-00023X-5E for help-guix@gnu.org; Mon, 12 Mar 2018 18:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evVzD-0002Nq-4o for help-guix@gnu.org; Mon, 12 Mar 2018 18:32:11 -0400 In-Reply-To: <873715siwu.fsf@gnu.org> 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: ludo@gnu.org Cc: help-guix@gnu.org March 12, 2018 7:18 AM, ludo@gnu.org wrote:=0A=0A> The suggestion is to s= ource ~/.guix-profile/etc/profile from=0A> ~/.bash_profile (or similar).= =0AI have just tried your suggestion. I verified that it does not pollut= e=0AGNOME=E2=80=99s environment and it does set up Guix environment varia= bles in=0AEmacs. However, it does not set up the Guix environment on=0Ag= nome-terminal, as I suspected. According to Bash=E2=80=99s info manual[1= ],=0Ainteractive non-login Bash shells (such as those spawned by=0Agnome-= terminal) only read `~/.bashrc' or the file specified by the=0A`--rcfile'= option, but *not* (by default) `/.bash_profile'.=0A=0AFootnotes=0A=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=0A=0A[1] [info:bash#Bash Startup Files]=0A=0A- I am Brazilian. I hop= e my English is correct and I welcome feedback=0A- Please adopt free form= ats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z=0A- Free/libre software = for Android: https://f-droid.org/=0A- [[https://www.gnu.org/philosophy/fr= ee-sw.html][What is free software?]]