~ruther/guix-local

4c80d4c4815218196d5bc975239cf57026f81310 — Ludovic Courtès 9 years ago 8134dc1
download: Do not offload 'builtin:download' derivations.

* guix/download.scm (built-in-download): Pass #:local-build? #t.
1 files changed, 7 insertions(+), 1 deletions(-)

M guix/download.scm
M guix/download.scm => guix/download.scm +7 -1
@@ 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