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

Log:
export NIX_PROFILES and NIX_USER_PROFILE_DIR

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 16:38:53 
2012        (r31241)
+++ nixos/trunk/modules/programs/bash/profile.sh        Tue Jan  3 17:11:19 
2012        (r31242)
@@ -17,8 +17,8 @@
 export LOCATE_PATH=/var/cache/locatedb
 
 # Include the various profiles in the appropriate environment variables.
-NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/$USER
-NIX_PROFILES="/var/run/current-system/sw /nix/var/nix/profiles/default 
$HOME/.nix-profile"
+export NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/$USER
+export NIX_PROFILES="/var/run/current-system/sw /nix/var/nix/profiles/default 
$HOME/.nix-profile"
 
 unset PATH INFOPATH PKG_CONFIG_PATH PERL5LIB ALSA_PLUGIN_DIRS GST_PLUGIN_PATH 
KDEDIRS
 unset QT_PLUGIN_PATH QTWEBKIT_PLUGIN_PATH STRIGI_PLUGIN_PATH XDG_CONFIG_DIRS 
XDG_DATA_DIRS
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to