aboutsummaryrefslogtreecommitdiff
path: root/etc/guix-install.sh
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2021-05-24 17:26:52 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-07-07 21:25:16 +0200
commit7f06567b83a6d994703adbdda99b266dc83d2d84 (patch)
tree2001ef7a2abbd8e5fa3ecdf27cfd8b0447b54f09 /etc/guix-install.sh
parentaf2d6ec092c98ac5f32d8e9e182a141e1268805b (diff)
downloadguix-7f06567b83a6d994703adbdda99b266dc83d2d84.tar
guix-7f06567b83a6d994703adbdda99b266dc83d2d84.tar.gz
guix-install.sh: No longer export GUIX_PROFILE.
If GUIX_PROFILE is exported here, any subsequent "source /some/other/profile/etc/profile" will set variables pointing to "$HOME/.guix-profile" instead of pointing to the sourced profile. * etc/guix-install.sh (sys_create_init_profile): No longer export GUIX_PROFILE.
Diffstat (limited to 'etc/guix-install.sh')
-rwxr-xr-xetc/guix-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 6a799fa823..8ecadea97d 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -499,7 +499,7 @@ export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH"
GUIX_PROFILE="$HOME/.guix-profile"
[ -L $GUIX_PROFILE ] || return
GUIX_LOCPATH="$GUIX_PROFILE/lib/locale"
-export GUIX_PROFILE GUIX_LOCPATH
+export GUIX_LOCPATH
[ -f "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile"