diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-03-22 22:55:58 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-03-22 22:57:10 +0100 |
commit | 1950bf56d09755fb69f3e8ecd46bea7cea52d2a8 (patch) | |
tree | 6b5ceacccdd59c6b2a70454d7a734d60adca3be0 /tests | |
parent | 9b0a2233dbe8746015b97e97cef890d38fb44b0f (diff) | |
download | patches-1950bf56d09755fb69f3e8ecd46bea7cea52d2a8.tar patches-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')
-rw-r--r-- | tests/derivations.scm | 3 |
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*) |