guix-module-union and guile modules take priority over $GUILE_LOAD_PATH

  • Open
  • quality assurance status badge
Details
One participant
  • Mikhail Tsykalov
Owner
unassigned
Submitted by
Mikhail Tsykalov
Severity
normal
M
M
Mikhail Tsykalov wrote on 31 Dec 2023 13:56
(address . bug-guix@gnu.org)
f9ac560a-e4eb-46d8-9c2b-5935fd5d436d@gmail.com
When running (bash syntax) "env GUILE_LOAD_PATH=/tmp:$GUILE_LOAD_PATH
guix repl <(echo '(display %load-path) (newline)')" /tmp is placed after
guix-module-union and guile modules.

While this may be desired behavior (judging from commit message of
459f0d07a1b), it leads to the user being unable to overwrite modules in
guix-module-union using environmental variables.

This doesn't really break anything documented, but it makes pre-inst-env
with unbuilt scripts/guix pull modules from guix-modules-union instead
of working directory. (i.e. "make check-system" will ignore changes to
gnu/tests subdirectory). Also I think it's logical for user paths to
take priority over system ones.

I think these entries are added by
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 68172@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 68172
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch