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

To reply to this bug, email your comments to 68172 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#68172; Package guix. (Sun, 31 Dec 2023 12:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mikhail Tsykalov <tsymsh <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 31 Dec 2023 12:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mikhail Tsykalov <tsymsh <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: 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 164 days ago.

Previous Next


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