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: Sun, 11 Nov 2018 14:26:35 +0100 Message-ID: <875zx3u4ms.fsf@gnu.org> References: <7d565897-cc97-6dc1-7663-8f140e1b77fd@riseup.net> <877ehq5tmq.fsf@gnu.org> <87a7mksgcl.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]:48575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLplI-0002qZ-At for guix-devel@gnu.org; Sun, 11 Nov 2018 08:26:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLplC-0005zv-0g for guix-devel@gnu.org; Sun, 11 Nov 2018 08:26:44 -0500 In-Reply-To: (=?utf-8?Q?=22G=C3=A1bor?= Boskovits"'s message of "Thu, 8 Nov 2018 08:02:41 +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 Hello, G=C3=A1bor Boskovits skribis: > 2018. nov. 7., Sze 22:55 d=C3=A1tummal Ludovic Court=C3=A8s ezt =C3=ADrta: > >> Hi, >> >> G=C3=A1bor Boskovits skribis: >> >> > I have seen in the /etc/profile file that it suggest you to do somethi= ng >> 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 fi= le is >> appropriate (~/.bash_profile, ~/.profile, /etc/profile, etc.) >> > > I did not express myself cleanly. What my problem was that 'source' is ba= sh > specific, while we can use '.' in posix shells. Ah yes of course. If there are places in the doc where we use =E2=80=98sou= rce=E2=80=99 instead of =E2=80=98.=E2=80=99, feel free to change them. Ludo=E2=80=99.