summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-11-18 10:48:31 +0100
committerLudovic Courtès <ludo@gnu.org>2016-11-18 18:28:02 +0100
commit4c80d4c4815218196d5bc975239cf57026f81310 (patch)
tree740bdb90a05f36105883a0efe81c028462c45514 /guix
parent8134dc1f74c2df2d42e1510fd3ac35234a4d89df (diff)
download: Do not offload 'builtin:download' derivations.
* guix/download.scm (built-in-download): Pass #:local-build? #t.
Diffstat (limited to 'guix')
-rw-r--r--guix/download.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/guix/download.scm b/guix/download.scm
index 34ebd45370..64a1d2f084 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -352,7 +352,13 @@ download by itself using its own dependencies."
#:env-vars `(("url" . ,(object->string url))
("mirrors" . ,mirrors)
("content-addressed-mirrors"
- . ,content-addressed-mirrors)))))
+ . ,content-addressed-mirrors))
+
+ ;; Do not offload this derivation because we cannot be
+ ;; sure that the remote daemon supports the 'download'
+ ;; built-in. We may remove this limitation when support
+ ;; for that built-in is widespread.
+ #:local-build? #t)))
(define* (in-band-download file-name url
#:key system hash-algo hash