Browse Source

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.
wip-grafts
Ludovic Courtès 7 years ago
parent
commit
347e17b474
  1. 6
      guix/download.scm
  2. 3
      guix/git-download.scm
  3. 3
      guix/svn-download.scm

6
guix/download.scm

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

3
guix/git-download.scm

@ -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

3
guix/svn-download.scm

@ -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

Loading…
Cancel
Save