me
/
guix
Archived
1
0
Fork 0

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'.
master
Ludovic Courtès 2019-09-26 18:49:25 +02:00
parent 464caf72f9
commit 8727e0304b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 1 deletions

View File

@ -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)