Skip to content
Snippets Groups Projects
Commit 347e17b4 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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.
parent fd2b6df2
No related branches found
No related tags found
No related merge requests found
...@@ -258,7 +258,11 @@ (define builder ...@@ -258,7 +258,11 @@ (define builder
#:guile-for-build guile-for-build #:guile-for-build guile-for-build
;; In general, offloading downloads is not a good idea. ;; 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 #:guile-for-build guile-for-build
#:system system)))) #:system system))))
......
...@@ -98,7 +98,8 @@ (define build ...@@ -98,7 +98,8 @@ (define build
(run-with-store store (run-with-store store
(gexp->derivation (or name "git-checkout") build (gexp->derivation (or name "git-checkout") build
#:system system #:system system
#:local-build? #t ;; FIXME: See <https://bugs.gnu.org/18747>.
;;#:local-build? #t
#:hash-algo hash-algo #:hash-algo hash-algo
#:hash hash #:hash hash
#:recursive? #t #:recursive? #t
......
...@@ -76,7 +76,8 @@ (define build ...@@ -76,7 +76,8 @@ (define build
(run-with-store store (run-with-store store
(gexp->derivation (or name "svn-checkout") build (gexp->derivation (or name "svn-checkout") build
#:system system #:system system
#:local-build? #t ;; FIXME: See <https://bugs.gnu.org/18747>.
;;#:local-build? #t
#:hash-algo hash-algo #:hash-algo hash-algo
#:hash hash #:hash hash
#:recursive? #t #:recursive? #t
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment