self: Don't substitute the '-source' derivations.

With substitution enabled we would end up downloading 10+ MiB of source
that's already available locally on disk.

* guix/self.scm (imported-files): Pass #:options to 'computed-file'.
This commit is contained in:
Ludovic Courtès 2018-04-10 14:33:25 +02:00
parent 10de06bd07
commit 14b392a8ad
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 1 deletions

View File

@ -463,7 +463,10 @@ list of file-name/file-like objects suitable as inputs to 'imported-files'."
(copy-file store-path final-path)))
'#$files))))
(computed-file name build))
;; We're just copying files around, no need to substitute or offload it.
(computed-file name build
#:options '(#:local-build? #t
#:substitutable? #f)))
(define* (compiled-modules name module-tree modules
#:optional