diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-01-07 23:45:15 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-01-07 23:50:56 +0100 |
commit | efff32452a050e2cd715c38717dd03cad5511bc0 (patch) | |
tree | b88b27368c2d8d6847857d820063f18ae3daba93 /gnu | |
parent | 49c35bbb71f80bdd7c01b4d74e08335c3ec5331c (diff) | |
download | guix-patches-efff32452a050e2cd715c38717dd03cad5511bc0.tar guix-patches-efff32452a050e2cd715c38717dd03cad5511bc0.tar.gz |
gexp: 'gexp->script' does not emit load-path expression when unnecessary.
This removes two elements from %LOAD-PATH and %LOAD-COMPILED-PATH of the
'guix' command and thus further reduces the number of 'stat' calls it
makes.
* guix/gexp.scm (load-path-expression): Return #f when MODULES and
EXTENSIONS are both empty.
(gexp->script): Don't emit anything when SET-LOAD-PATH is #f.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions