summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-12-04 10:43:28 +0100
committerLudovic Courtès <ludo@gnu.org>2018-12-04 10:57:56 +0100
commit7bc5657f8434de06d904c36f8960a1b1dddf10ae (patch)
tree80786e57132639811743488f387c06c56ab6547b
parent9300e2e893a5c04c7775a13e1dab0943c18d1faf (diff)
grafts: Mark as non substitutable.
* guix/grafts.scm (graft-derivation/shallow): Pass #:substitutable? to 'build-expression->derivation'.
-rw-r--r--guix/grafts.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/guix/grafts.scm b/guix/grafts.scm
index 63f384555b..db9c6854fd 100644
--- a/guix/grafts.scm
+++ b/guix/grafts.scm
@@ -144,7 +144,12 @@ are not recursively applied to dependencies of DRV."
,@(append (map add-label sources)
(map add-label targets)))
#:outputs outputs
+
+ ;; Grafts are computationally cheap so no
+ ;; need to offload or substitute.
#:local-build? #t
+ #:substitutable? #f
+
#:properties properties)))))
(define (item->deriver store item)
"Return two values: the derivation that led to ITEM (a store item), and the