diff mbox series

[bug#48624] guix-install.sh: No longer export GUIX_PROFILE.

Message ID 6251b4d6fd935c6546273edfbf68fdf0b07860a2.1621870588.git.h.goebel@crazy-compilers.com
State Accepted
Headers show
Series [bug#48624] guix-install.sh: No longer export GUIX_PROFILE. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Hartmut Goebel May 24, 2021, 3:37 p.m. UTC
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.
---
 etc/guix-install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Hartmut Goebel July 7, 2021, 7:30 p.m. UTC | #1
Commited as 7f06567b83a6d994703adbdda99b266dc83d2d84
diff mbox series

Patch

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"