mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
guix-install.sh: Make Guix modules available too.
* etc/guix-install.sh (GUILE_LOAD_PATH): Prepend directory to current Guix modules. (GUILE_LOAD_COMPILED_PATH): Likewise to compiled modules. Change-Id: I0b2722a38b1f8ebab32142cbc372a23cadfb0620
This commit is contained in:
parent
0fa6ba879a
commit
78390634d7
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
# Copyright © 2022 Prafulla Giri <prafulla.giri@protonmail.com>
|
# Copyright © 2022 Prafulla Giri <prafulla.giri@protonmail.com>
|
||||||
# Copyright © 2023 Andrew Tropin <andrew@trop.in>
|
# Copyright © 2023 Andrew Tropin <andrew@trop.in>
|
||||||
# Copyright © 2020 David A. Redick <david.a.redick@gmail.com>
|
# Copyright © 2020 David A. Redick <david.a.redick@gmail.com>
|
||||||
|
# Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
#
|
#
|
||||||
# This file is part of GNU Guix.
|
# This file is part of GNU Guix.
|
||||||
#
|
#
|
||||||
|
@ -642,6 +643,10 @@ GUIX_LOCPATH="$GUIX_PROFILE/lib/locale:${GUIX_LOCPATH:+:}$GUIX_LOCPATH"
|
||||||
|
|
||||||
export GUIX_LOCPATH
|
export GUIX_LOCPATH
|
||||||
|
|
||||||
|
# Make Guix modules available
|
||||||
|
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"
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue