Skip to content
Snippets Groups Projects
Commit 85d3ba4e authored by Mathieu Lirzin's avatar Mathieu Lirzin
Browse files

cuirass: process-spec: Use 'when' instead of 'and'.

This is done because 'set-load-path!' returns a undefined value.
parent fe30eb7e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment