tests: Make sure substitutes are usable when we need them.
* tests/derivations.scm ("derivation-prerequisites-to-build and substitutes"): Add call to 'set-build-options'.
This commit is contained in:
parent
9b0a2233db
commit
1950bf56d0
|
@ -524,6 +524,9 @@ Deriver: ~a~%"
|
||||||
(basename
|
(basename
|
||||||
(derivation-file-name drv))))) ; Deriver
|
(derivation-file-name drv))))) ; Deriver
|
||||||
|
|
||||||
|
;; Make sure substitutes are usable.
|
||||||
|
(set-build-options store #:use-substitutes? #t)
|
||||||
|
|
||||||
(let-values (((build download)
|
(let-values (((build download)
|
||||||
(derivation-prerequisites-to-build store drv))
|
(derivation-prerequisites-to-build store drv))
|
||||||
((build* download*)
|
((build* download*)
|
||||||
|
|
Loading…
Reference in New Issue