download: Allow use of substitutes.
authorLudovic Courtès <ludo@gnu.org>
Thu, 16 Oct 2014 21:39:54 +0000 (23:39 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 16 Oct 2014 21:40:10 +0000 (23:40 +0200)
See <https://bugs.gnu.org/18747> for the original report.

* guix/download.scm (url-fetch): Comment out #:local-build? argument.
* guix/git-download.scm (git-fetch): Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.

guix/download.scm
guix/git-download.scm
guix/svn-download.scm

index 2d4bf74..4f16c3a 100644 (file)
@@ -258,7 +258,11 @@ must be a list of symbol/URL-list pairs."
                             #:guile-for-build guile-for-build
 
                             ;; In general, offloading downloads is not a good idea.
-                            #:local-build? #t)
+                            ;;#:local-build? #t
+                            ;; FIXME: The above would also disable use of
+                            ;; substitutes, so comment it out; see
+                            ;; <https://bugs.gnu.org/18747>.
+                            )
           #:guile-for-build guile-for-build
           #:system system))))
 
index b88339b..94b118a 100644 (file)
@@ -98,7 +98,8 @@ type HASH-ALGO (a symbol).  Use NAME as the file name, or a generic name if
   (run-with-store store
     (gexp->derivation (or name "git-checkout") build
                       #:system system
-                      #:local-build? #t
+                      ;; FIXME: See <https://bugs.gnu.org/18747>.
+                      ;;#:local-build? #t
                       #:hash-algo hash-algo
                       #:hash hash
                       #:recursive? #t
index 31dd1a9..f06e449 100644 (file)
@@ -76,7 +76,8 @@ type HASH-ALGO (a symbol).  Use NAME as the file name, or a generic name if
   (run-with-store store
     (gexp->derivation (or name "svn-checkout") build
                       #:system system
-                      #:local-build? #t
+                      ;; FIXME: See <https://bugs.gnu.org/18747>.
+                      ;;#:local-build? #t
                       #:hash-algo hash-algo
                       #:hash hash
                       #:recursive? #t