civodul pushed a commit to branch master
in repository guix.

commit 14b392a8ad25454cfd3d929d6ae359e369a76cbf
Author: Ludovic Courtès <l...@gnu.org>
Date:   Tue Apr 10 14:33:25 2018 +0200

    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'.
---
 guix/self.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guix/self.scm b/guix/self.scm
index c9e4a42..76cbe2d 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

Reply via email to