summary refs log tree commit diff
path: root/gnu/services/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-17 14:32:24 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-17 23:50:41 +0200
commit9fad6067d914066e3b80bc9da6a2cb8bb060b96d (patch)
treeb1febaf56be3c5f2f68235b387e9f14844ffff8f /gnu/services/base.scm
parent63500cbbee8b91d9789e550fd3f027ae2e18059c (diff)
downloadguix-9fad6067d914066e3b80bc9da6a2cb8bb060b96d.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/base.scm')
0 files changed, 0 insertions, 0 deletions