diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-09-05 19:24:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-09-05 22:11:03 +0200 |
commit | 6b44a09747d18f1570c26f135c7f1a88c317201c (patch) | |
tree | 0fb364a54e05fbd68f245fa22713774f5b4368c6 /guix/download.scm | |
parent | cf897cbacc3ddcf5d5d553ee19002995985fff11 (diff) |
download: Disable offloading for downloads.
* guix/download.scm (url-fetch): Use #:local-build? #t.
* guix/git-download.scm (git-fetch): Likewise.
Diffstat (limited to 'guix/download.scm')
-rw-r--r-- | guix/download.scm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/guix/download.scm b/guix/download.scm index 079d1b0b8d..42956772f5 100644 --- a/guix/download.scm +++ b/guix/download.scm @@ -288,12 +288,11 @@ in the store." ;; Honor the user's proxy settings. #:leaked-env-vars '("http_proxy" "https_proxy") - ;; In general, offloading downloads is not a good idea. - ;;#:local-build? #t - ;; FIXME: The above would also disable use of - ;; substitutes on old daemons, so comment it out; - ;; see <https://bugs.gnu.org/18747>. - ))))) + ;; In general, offloading downloads is not a good + ;; idea. Daemons before 0.8.3 would also + ;; interpret this as "do not substitute" (see + ;; <https://bugs.gnu.org/18747>.) + #:local-build? #t))))) (define* (download-to-store store url #:optional (name (basename url)) #:key (log (current-error-port)) recursive?) |