summary refs log tree commit diff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-07 23:45:15 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-07 23:50:56 +0100
commitefff32452a050e2cd715c38717dd03cad5511bc0 (patch)
treeb88b27368c2d8d6847857d820063f18ae3daba93 /gnu/system
parent49c35bbb71f80bdd7c01b4d74e08335c3ec5331c (diff)
downloadguix-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/system')
0 files changed, 0 insertions, 0 deletions