summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-17 14:32:24 +0200
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-19 20:12:19 -0400
commitabdf812acc70d5424e51e2d6fb280bf08b087b68 (patch)
tree1ff2a0e707e44add05826eef6f7b645f8bb29dbb /gnu/services
parent72096b733016f50e71f02a6558425d8659f8970c (diff)
downloadguix-abdf812acc70d5424e51e2d6fb280bf08b087b68.tar.gz
environment: Really auto-load (guix scripts pack).
Fixes a performance regression on cache hits introduced in
b31ea797edb4f6e8c14e8fe790da1319607c5cb1, whereby (guix scripts pack)
would be loaded eagerly during startup, leading hundreds of (gnu
packages *) modules to be loaded.

Fixes <https://issues.guix.gnu.org/62899>.

* guix/scripts/environment.scm: Autoload (gnu build install).
(%options): Add indirection when calling 'symlink-spec-option-parser' so
that (guix scripts pack) is auto-loaded only when needed.
Diffstat (limited to 'gnu/services')
0 files changed, 0 insertions, 0 deletions