From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Environment variables in Guix and GuixSD Date: Wed, 07 Nov 2018 22:55:06 +0100 Message-ID: <87a7mksgcl.fsf@gnu.org> References: <7d565897-cc97-6dc1-7663-8f140e1b77fd@riseup.net> <877ehq5tmq.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]:55916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKVn4-0001A5-9N for guix-devel@gnu.org; Wed, 07 Nov 2018 16:55:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKVn2-0007vH-4R for guix-devel@gnu.org; Wed, 07 Nov 2018 16:55:10 -0500 In-Reply-To: (=?utf-8?Q?=22G=C3=A1bor?= Boskovits"'s message of "Tue, 6 Nov 2018 12:38:34 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?utf-8?Q?G=C3=A1bor?= Boskovits Cc: Guix-devel Hi, G=C3=A1bor Boskovits skribis: > I have seen in the /etc/profile file that it suggest you to do something = like > > source $GUIX_PROFILE/etc/profile. Right, you see this advice in $GUIX_PROFILE/etc/profile itself. > This causes problems on systems where the startup file is executed by > a posix /bin/sh, as this is bash specific. $GUIX_PROFILE/etc/profile is not honored by any shell. One has to specifically put the =E2=80=98source=E2=80=99 line above in whichever file = is appropriate (~/.bash_profile, ~/.profile, /etc/profile, etc.) On GuixSD this happens automatically but on a foreign distro users have to add the =E2=80=98source=E2=80=99 line somewhere. Does that make sense? Thanks, Ludo=E2=80=99.