unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68172: guix-module-union and guile modules take priority over $GUILE_LOAD_PATH
@ 2023-12-31 12:56 Mikhail Tsykalov
  0 siblings, 0 replies; only message in thread
From: Mikhail Tsykalov @ 2023-12-31 12:56 UTC (permalink / raw)
  To: 68172

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 
https://git.savannah.gnu.org/cgit/guix.git/tree/guix/self.scm?id=2a242e86379ebddbdddf2927f26e5e27a98fc605#n616.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-31 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-31 12:56 bug#68172: guix-module-union and guile modules take priority over $GUILE_LOAD_PATH Mikhail Tsykalov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).