guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/07: self: Don't substitute the '-source' derivations.


From: Ludovic Courtès
Subject: 02/07: self: Don't substitute the '-source' derivations.
Date: Tue, 10 Apr 2018 11:44:39 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 14b392a8ad25454cfd3d929d6ae359e369a76cbf
Author: Ludovic Courtès <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]