GNU bug report logs - #68172
guix-module-union and guile modules take priority over $GUILE_LOAD_PATH

Previous Next

Package: guix;

Reported by: Mikhail Tsykalov <tsymsh <at> gmail.com>

Date: Sun, 31 Dec 2023 12:58:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Mikhail Tsykalov <tsymsh <at> gmail.com>
To: 68172 <at> debbugs.gnu.org
Subject: bug#68172: guix-module-union and guile modules take priority over $GUILE_LOAD_PATH
Date: Sun, 31 Dec 2023 15:56:58 +0300
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.





This bug report was last modified 1 year and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.