diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-07 15:20:11 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-11 19:06:53 +0100 |
commit | d20665ecbfe7278f550a1ed4cd76565013feab59 (patch) | |
tree | fb7d49795dba6e15185979909c9205f0903e5fee /gnu/machine | |
parent | 459f0d07a1b0f76802a8b7deec8488f5956bce86 (diff) | |
download | guix-d20665ecbfe7278f550a1ed4cd76565013feab59.tar.gz |
guix: 'guile' executable ignores GUILE_LOAD_PATH during startup.
When starting the 'guix' command, this ensures Guile modules are immediately found instead of being search for in other directories. This reduces the number of 'stat' calls during startup when GUILE_LOAD_PATH is set to (almost) that of "env -i $(type -P guix)". * gnu/packages/aux-files/guile-launcher.c (load_path) (load_compiled_path): New variables. (inner_main): Restore GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH and set %load-path and %load-compiled-path accordingly. (main): Save GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH and unset them.
Diffstat (limited to 'gnu/machine')
0 files changed, 0 insertions, 0 deletions