From 1950bf56d09755fb69f3e8ecd46bea7cea52d2a8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 22 Mar 2014 22:55:58 +0100 Subject: 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'. --- tests/derivations.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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*) -- cgit 1.4.1