diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-04-10 14:33:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-04-10 17:44:27 +0200 |
commit | 14b392a8ad25454cfd3d929d6ae359e369a76cbf (patch) | |
tree | 343747fe8ac9ab60b99a8934a54528f2579fcccd /guix | |
parent | 10de06bd07eca266bdd59333cb671682af70fdcc (diff) | |
download | gnu-guix-14b392a8ad25454cfd3d929d6ae359e369a76cbf.tar gnu-guix-14b392a8ad25454cfd3d929d6ae359e369a76cbf.tar.gz |
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'.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/self.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/self.scm b/guix/self.scm index c9e4a4250e..76cbe2d6e3 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -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 |