guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/09: grafts: Mark as non substitutable.


From: guix-commits
Subject: 05/09: grafts: Mark as non substitutable.
Date: Tue, 4 Dec 2018 05:19:52 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 7bc5657f8434de06d904c36f8960a1b1dddf10ae
Author: Ludovic Courtès <address@hidden>
Date:   Tue Dec 4 10:43:28 2018 +0100

    grafts: Mark as non substitutable.
    
    * guix/grafts.scm (graft-derivation/shallow): Pass #:substitutable? to
    'build-expression->derivation'.
---
 guix/grafts.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/guix/grafts.scm b/guix/grafts.scm
index 63f3845..db9c685 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]