guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Environment variables in Guix and GuixSD


From: Ludovic Courtès
Subject: Re: Environment variables in Guix and GuixSD
Date: Sun, 11 Nov 2018 14:26:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Gábor Boskovits <address@hidden> skribis:

> 2018. nov. 7., Sze 22:55 dátummal Ludovic Courtès <address@hidden> ezt írta:
>
>> Hi,
>>
>> Gábor Boskovits <address@hidden> 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 ‘source’ line above in whichever file is
>> appropriate (~/.bash_profile, ~/.profile, /etc/profile, etc.)
>>
>
> I did not express myself cleanly. What my problem was that 'source' is bash
> specific, while we can use '.' in posix shells.

Ah yes of course.  If there are places in the doc where we use ‘source’
instead of ‘.’, feel free to change them.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]