diff options
| author | Rutherther <rutherther@ditigal.xyz> | 2026-01-16 23:16:47 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-02-07 17:00:10 +0100 |
| commit | 7fd75725c5daf9d3bdfd9122dcdb37f650493d18 (patch) | |
| tree | 42d010c9902f905bf6f1b56367d55334cc86ad1e /etc | |
| parent | 175a8d86c931a9f520d0e7f94831a55c364a32fe (diff) | |
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 <rutherther@ditigal.xyz>
Merges: #5686
Diffstat (limited to 'etc')
| -rwxr-xr-x | etc/guix-install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh index de0a916e65b..5d4b3facef4 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh | |||
| @@ -796,6 +796,10 @@ export PATH="$GUIX_PROFILE/bin${PATH:+:}$PATH" | |||
| 796 | # trailing colon so the system default search path is used. | 796 | # trailing colon so the system default search path is used. |
| 797 | export INFOPATH="$GUIX_PROFILE/share/info:${INFOPATH:-}" | 797 | export INFOPATH="$GUIX_PROFILE/share/info:${INFOPATH:-}" |
| 798 | export MANPATH="$GUIX_PROFILE/share/man:${MANPATH:-}" | 798 | export MANPATH="$GUIX_PROFILE/share/man:${MANPATH:-}" |
| 799 | # Expose the latest Guix modules to Guile so guix shell and repls spawned by | ||
| 800 | # e.g. Geiser work out of the box. | ||
| 801 | export GUILE_LOAD_PATH="$GUIX_PROFILE/share/guile/site/3.0${GUILE_LOAD_PATH:+:$GUILE_LOAD_PATH}" | ||
| 802 | export GUILE_LOAD_COMPILED_PATH="$GUIX_PROFILE/lib/guile/3.0/site-ccache${GUILE_LOAD_COMPILED_PATH:+:$GUILE_LOAD_COMPILED_PATH}" | ||
| 799 | 803 | ||
| 800 | # User's default profile, if it exists | 804 | # User's default profile, if it exists |
| 801 | GUIX_PROFILE="$HOME/.guix-profile" | 805 | GUIX_PROFILE="$HOME/.guix-profile" |
