download: Do not offload 'builtin:download' derivations.

* guix/download.scm (built-in-download): Pass #:local-build? #t.
This commit is contained in:
Ludovic Courtès 2016-11-18 10:48:31 +01:00
parent 8134dc1f74
commit 4c80d4c481
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

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