aboutsummaryrefslogtreecommitdiff
path: root/tests/derivations.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-03-22 22:55:58 +0100
committerLudovic Courtès <ludo@gnu.org>2014-03-22 22:57:10 +0100
commit1950bf56d09755fb69f3e8ecd46bea7cea52d2a8 (patch)
tree6b5ceacccdd59c6b2a70454d7a734d60adca3be0 /tests/derivations.scm
parent9b0a2233dbe8746015b97e97cef890d38fb44b0f (diff)
downloadguix-1950bf56d09755fb69f3e8ecd46bea7cea52d2a8.tar
guix-1950bf56d09755fb69f3e8ecd46bea7cea52d2a8.tar.gz
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'.
Diffstat (limited to 'tests/derivations.scm')
-rw-r--r--tests/derivations.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/derivations.scm b/tests/derivations.scm
index e87662a198..3903a563a8 100644
--- a/tests/derivations.scm
+++ b/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*)