aboutsummaryrefslogtreecommitdiff
path: root/guix/self.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-04-10 14:33:25 +0200
committerLudovic Courtès <ludo@gnu.org>2018-04-10 17:44:27 +0200
commit14b392a8ad25454cfd3d929d6ae359e369a76cbf (patch)
tree343747fe8ac9ab60b99a8934a54528f2579fcccd /guix/self.scm
parent10de06bd07eca266bdd59333cb671682af70fdcc (diff)
downloadgnu-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/self.scm')
-rw-r--r--guix/self.scm5
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