Browse Source

download: Perform derivations locally.

* guix/download.scm (url-fetch): Pass #:local-build? #t to
  'build-expression->derivation'.
* guix/git-download.scm (git-fetch): Likewise.
version-0.8.3
Ludovic Courtès 8 years ago
parent
commit
56c72822a8
  1. 6
      guix/download.scm
  2. 3
      guix/git-download.scm

6
guix/download.scm

@ -242,7 +242,11 @@ must be a list of symbol/URL-list pairs."
(guix build utils)
(guix ftp-client))
#:guile-for-build guile-for-build
#:env-vars env-vars)))
#:env-vars env-vars
;; In general, offloading downloads is not a
;; good idea.
#:local-build? #t)))
(define* (download-to-store store url #:optional (name (basename url))
#:key (log (current-error-port)))

3
guix/git-download.scm

@ -84,6 +84,7 @@ type HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if
#:recursive? #t
#:modules '((guix build git)
(guix build utils))
#:guile-for-build guile-for-build)))
#:guile-for-build guile-for-build
#:local-build? #t)))
;;; git-download.scm ends here

Loading…
Cancel
Save