summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-03-25 20:45:13 +0100
committerLudovic Courtès <ludo@gnu.org>2014-03-25 20:45:13 +0100
commiteafee15b3ce3638058c43974244964dbd48ec15d (patch)
tree36ae8727e0ed20ca1da8c9b0e6e1be654647dba3
parent1971737f2bf8980f5eb72b61f9bfeb788574eec9 (diff)
downloadguix-eafee15b3ce3638058c43974244964dbd48ec15d.tar.gz
check-available-binaries: Make sure substitutes are enabled.
* build-aux/check-available-binaries.scm: Add call to
  'set-build-options'.
-rw-r--r--build-aux/check-available-binaries.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/check-available-binaries.scm b/build-aux/check-available-binaries.scm
index 92810795e1..d5163a9503 100644
--- a/build-aux/check-available-binaries.scm
+++ b/build-aux/check-available-binaries.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -48,6 +48,7 @@
                     drv)
             #f))))
 
+  (set-build-options store #:use-substitutes? #t)
   (let ((result (every (compose (warn (cut has-substitutes? store <>))
                                 derivation->output-path)
                        total)))