[Nix-dev] [Nix-commits] [NixOS/nixos] 70e6e1: xsession: source /etc/profile at the beginning of ...

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Nov 6 11:12:11 CET 2012


Hi,

On 05/11/12 23:08, Peter Simons wrote:

>    Log Message:
>    -----------
>    xsession: source /etc/profile at the beginning of the script

Hm, not sure if this is a good idea.  Won't this prevent child shells (e.g. 
konsole / xterm shells) from reloading /etc/profile (due to $__ETC_PROFILE_DONE 
being set)?  I.e., you'll have to log out to have environment changes take 
effect, which is annoying.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list