diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-09-26 18:49:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-26 23:15:28 +0200 |
commit | 8727e0304b68cd22e827331bb40ea269f243c6ab (patch) | |
tree | 7704352f2a246a052635069b30de297ed25a8f3c | |
parent | 464caf72f9ff7600bd49e2df07e19cd9af28a930 (diff) | |
download | guix-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'.
-rw-r--r-- | guix/self.scm | 6 |
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) |