[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48624] [PATCH] guix-install.sh: No longer export GUIX_PROFILE.
From: |
Hartmut Goebel |
Subject: |
[bug#48624] [PATCH] guix-install.sh: No longer export GUIX_PROFILE. |
Date: |
Mon, 24 May 2021 17:37:02 +0200 |
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(-)
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"
--
2.21.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#48624] [PATCH] guix-install.sh: No longer export GUIX_PROFILE.,
Hartmut Goebel <=