download: Allow use of substitutes.

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.
This commit is contained in:
Ludovic Courtès 2014-10-16 23:39:54 +02:00
parent fd2b6df2a8
commit 347e17b474
3 changed files with 9 additions and 3 deletions

View 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))))

View 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

View 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