From bb2263102ace6f178410cdc1e49a315bb51a20da Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sun, 14 Dec 2025 09:46:40 +0100 Subject: [PATCH] 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 --- etc/guix-install.sh | 4 ---- 1 file changed, 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" # trailing colon so the system default search path is used. export INFOPATH="$GUIX_PROFILE/share/info:$INFOPATH" export MANPATH="$GUIX_PROFILE/share/man:$MANPATH" -# Expose the latest Guix modules to Guile so guix shell and repls spawned by -# e.g. Geiser work out of the box. -export GUILE_LOAD_PATH="$GUIX_PROFILE/share/guile/site/3.0${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH" -export GUILE_LOAD_COMPILED_PATH="$GUIX_PROFILE/lib/guile/3.0/site-ccache${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH" # User's default profile, if it exists GUIX_PROFILE="$HOME/.guix-profile"