summaryrefslogtreecommitdiff
path: root/guix/gexp.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-01-03 12:39:48 +0100
committerLudovic Courtès <ludo@gnu.org>2020-01-03 16:06:26 +0100
commit52207b3938d3ccbeb661ba8d0af563cf1e0e3333 (patch)
treedc00a0916c576cd456d5a6dc3b62019acf4b68aa /guix/gexp.scm
parent9512ba6b09b55c1551933c1885aa1ca39457aea8 (diff)
gexp: 'gexp->script' marks its result as non-offloadable and non-substitutable.
* guix/gexp.scm (gexp->script): Pass #:local-build? and #:substitutable? to 'gexp->derivation'.
Diffstat (limited to 'guix/gexp.scm')
-rw-r--r--guix/gexp.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/guix/gexp.scm b/guix/gexp.scm
index 12331052a6..912960fd1d 100644
--- a/guix/gexp.scm
+++ b/guix/gexp.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2018 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
@@ -1602,7 +1602,12 @@ imported modules in its search path. Look up EXP's modules in MODULE-PATH."
(chmod port #o555))))
#:system system
#:target target
- #:module-path module-path)))
+ #:module-path module-path
+
+ ;; These derivations are not worth offloading or
+ ;; substituting.
+ #:local-build? #t
+ #:substitutable? #f)))
(define* (gexp->file name exp #:key
(set-load-path? #t)