mirror of https://notabug.org/mthl/cuirass.git
cuirass: process-spec: Use 'when' instead of 'and'.
This is done because 'set-load-path!' returns a undefined value.pull/3/head
parent
fe30eb7e82
commit
85d3ba4e45
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue