Browse Source

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'.
wip-grafts
Ludovic Courtès 8 years ago
parent
commit
1950bf56d0
  1. 3
      tests/derivations.scm

3
tests/derivations.scm

@ -524,6 +524,9 @@ Deriver: ~a~%"
(basename
(derivation-file-name drv))))) ; Deriver
;; Make sure substitutes are usable.
(set-build-options store #:use-substitutes? #t)
(let-values (((build download)
(derivation-prerequisites-to-build store drv))
((build* download*)

Loading…
Cancel
Save