summaryrefslogtreecommitdiff
path: root/guix/self.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-09-26 18:49:25 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-26 23:15:28 +0200
commit8727e0304b68cd22e827331bb40ea269f243c6ab (patch)
tree7704352f2a246a052635069b30de297ed25a8f3c /guix/self.scm
parent464caf72f9ff7600bd49e2df07e19cd9af28a930 (diff)
downloadpatches-8727e0304b68cd22e827331bb40ea269f243c6ab.tar
patches-8727e0304b68cd22e827331bb40ea269f243c6ab.tar.gz
self: Mark trivial "-modules" derivations as non-substitutable.
The resulting nar takes ~500KiB and it's quicker to build it locally than to download it. * guix/self.scm (node-source+compiled): Pass #:options to 'computed-file'.
Diffstat (limited to 'guix/self.scm')
-rw-r--r--guix/self.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/self.scm b/guix/self.scm
index f03fe01d0c..142c834137 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -124,7 +124,11 @@ NODE's modules, under their FHS directories: share/guile/site and lib/guile."
(symlink #$(node-compiled node) object))))
(computed-file (string-append (node-name node) "-modules")
- build))
+ build
+ #:options '(#:local-build? #t
+
+ ;; "Building" it locally is faster.
+ #:substitutable? #f)))
(define (node-fold proc init nodes)
(let loop ((nodes nodes)