unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48624] [PATCH] guix-install.sh: No longer export GUIX_PROFILE.
@ 2021-05-24 15:37 Hartmut Goebel
       [not found] ` <handler.48624.B.162187063325625.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hartmut Goebel @ 2021-05-24 15:37 UTC (permalink / raw)
  To: 48624

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#48624: Acknowledgement ([PATCH] guix-install.sh: No longer export GUIX_PROFILE.)
       [not found] ` <handler.48624.B.162187063325625.ack@debbugs.gnu.org>
@ 2021-07-07 19:30   ` Hartmut Goebel
  0 siblings, 0 replies; 2+ messages in thread
From: Hartmut Goebel @ 2021-07-07 19:30 UTC (permalink / raw)
  To: 48624-close

Commited as 7f06567b83a6d994703adbdda99b266dc83d2d84





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-07 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-24 15:37 [bug#48624] [PATCH] guix-install.sh: No longer export GUIX_PROFILE Hartmut Goebel
     [not found] ` <handler.48624.B.162187063325625.ack@debbugs.gnu.org>
2021-07-07 19:30   ` bug#48624: Acknowledgement ([PATCH] guix-install.sh: No longer export GUIX_PROFILE.) Hartmut Goebel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).