From 8727e0304b68cd22e827331bb40ea269f243c6ab Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 26 Sep 2019 18:49:25 +0200 Subject: 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'. --- guix/self.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'guix') 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) -- cgit v1.2.3