From 7b7976ac016827cc8671a1e356b671fac3c3c5e4 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf <flo@chaoflow.net> Date: Tue, 3 Jan 2012 17:11:19 +0000 Subject: [PATCH] export NIX_PROFILES and NIX_USER_PROFILE_DIR svn path=/nixos/trunk/; revision=31242 --- modules/programs/bash/profile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/bash/profile.sh b/modules/programs/bash/profile.sh index 7fc17d92841..bc6e88c5561 100644 --- a/modules/programs/bash/profile.sh +++ b/modules/programs/bash/profile.sh @@ -17,8 +17,8 @@ export EDITOR=nano 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