guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 7fd75725c5daf9d3bdfd9122dcdb37f650493d18
Author: Rutherther <[email protected]>
AuthorDate: Fri Jan 16 23:16:47 2026 +0100
guix-install.sh: Set Guile load paths in zzz-guix.sh.
Reverts bb2263102ace6f178410cdc1e49a315bb51a20da.
Follow up of 4aece62a754996bb6af03f45ceaeb0f3fc929809 that makes this safe.
* etc/guix-install.sh (sys_create_init_profile): Set GUILE_LOAD_PATH and
GUILE_LOAD_COMPILED_PATH to user's current-guix profile.
Change-Id: I52e02d779c1ece4570e355fcc12193ef87b89e50
Signed-off-by: Rutherther <[email protected]>
Merges: #5686
---
etc/guix-install.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index de0a916e65..5d4b3facef 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -796,6 +796,10 @@ 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"