summary refs log tree commit diff
diff options
context:
space:
mode:
-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*)