summaryrefslogtreecommitdiff
path: root/bin/cuirass.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cuirass.in')
-rw-r--r--bin/cuirass.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cuirass.in b/bin/cuirass.in
index c56f5b5..04d439b 100644
--- a/bin/cuirass.in
+++ b/bin/cuirass.in
@@ -120,7 +120,8 @@ if required."
"Evaluate and build SPEC"
(fetch-repository spec)
(let ((old-path %load-path))
- (and (job-spec-load-path spec) (set-load-path! spec))
+ (when (job-spec-load-path spec)
+ (set-load-path! spec))
(let ((store ((guix-variable 'store 'open-connection))))
(dynamic-wind
(const #t)