summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRutherther <rutherther@ditigal.xyz>2025-12-14 09:46:40 +0100
committerRutherther <rutherther@ditigal.xyz>2025-12-22 22:54:11 +0100
commitbb2263102ace6f178410cdc1e49a315bb51a20da (patch)
tree6efd7885df69c431c7e63d76a38ea666abed1ae3 /etc
parent3dadea4b6de1dd727df3a01640a943ec97c8924d (diff)
guix-install.sh: Do not set GUILE_LOAD_PATH in zzz-guix.sh.
Channels from the load path will shadow channels used through time-machine or used through any other guix than the one in ~/.config/guix/current. This is true for all channels that are in ~/.config/guix/current except guix. On Guix System, /run/current-system/profile/share/guile/site/3.0 is usually in GUILE_LOAD_PATH that typically has only Guix, so no shadowing happens in most cases. For using Geiser and other sw, it's possible to configure them to use "guix repl" that's intended for this use case. This is then makes the guix being used explicit. It is expected that this is only a temporary solution. After a proper solutions is found, it will be reverted. Workaround #4819. Reverts: 78390634d76c0c75c6e93742fa7caec965194641. Change-Id: I36b921a758618f382af9097003415f902b27c44b Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'etc')
-rwxr-xr-xetc/guix-install.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 12b39705478..014e30a6a36 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -795,10 +795,6 @@ export PATH="$GUIX_PROFILE/bin${PATH:+:}$PATH"
795# trailing colon so the system default search path is used. 795# trailing colon so the system default search path is used.
796export INFOPATH="$GUIX_PROFILE/share/info:$INFOPATH" 796export INFOPATH="$GUIX_PROFILE/share/info:$INFOPATH"
797export MANPATH="$GUIX_PROFILE/share/man:$MANPATH" 797export MANPATH="$GUIX_PROFILE/share/man:$MANPATH"
798# Expose the latest Guix modules to Guile so guix shell and repls spawned by
799# e.g. Geiser work out of the box.
800export GUILE_LOAD_PATH="$GUIX_PROFILE/share/guile/site/3.0${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
801export GUILE_LOAD_COMPILED_PATH="$GUIX_PROFILE/lib/guile/3.0/site-ccache${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
802 798
803# User's default profile, if it exists 799# User's default profile, if it exists
804GUIX_PROFILE="$HOME/.guix-profile" 800GUIX_PROFILE="$HOME/.guix-profile"