[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: download: Do not offload 'builtin:download' derivations.
From: |
Ludovic Courtès |
Subject: |
02/03: download: Do not offload 'builtin:download' derivations. |
Date: |
Fri, 18 Nov 2016 17:28:17 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 4c80d4c4815218196d5bc975239cf57026f81310
Author: Ludovic Courtès <address@hidden>
Date: Fri Nov 18 10:48:31 2016 +0100
download: Do not offload 'builtin:download' derivations.
* guix/download.scm (built-in-download): Pass #:local-build? #t.
---
guix/download.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/guix/download.scm b/guix/download.scm
index 34ebd45..64a1d2f 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