Author: chaoflow
Date: Tue Jan  3 17:11:21 2012
New Revision: 31243
URL: https://nixos.org/websvn/nix/?rev=31243&sc=1

Log:
Revert "add ~/bin to PATH if it exists"

This reverts commit 73bda7c4575b5664d54340db95fec2fa759b6f28.

Modified:
   nixos/trunk/modules/programs/bash/profile.sh

Modified: nixos/trunk/modules/programs/bash/profile.sh
==============================================================================
--- nixos/trunk/modules/programs/bash/profile.sh        Tue Jan  3 17:11:19 
2012        (r31242)
+++ nixos/trunk/modules/programs/bash/profile.sh        Tue Jan  3 17:11:21 
2012        (r31243)
@@ -62,11 +62,6 @@
 # The setuid wrappers override other bin directories.
 export PATH=@wrapperDir@:$PATH
 
-# ~/bin if it exists overrides other bin directories.
-if test -d $HOME/bin; then
-    export PATH=$HOME/bin:$PATH
-fi
-
 # Set up the per-user profile.
 mkdir -m 0755 -p $NIX_USER_PROFILE_DIR
 if test "$(stat --printf '%u' $NIX_USER_PROFILE_DIR)" != "$(id -u)"; then
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to