guix-commits
[Top][All Lists]
Advanced

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

08/11: services: shepherd: Mark '.go' derivations as non-substitutable.


From: guix-commits
Subject: 08/11: services: shepherd: Mark '.go' derivations as non-substitutable.
Date: Sun, 29 Mar 2020 09:37:09 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 0e833ac5f4ebd6c6bfc75a5f110c2c85b8be804a
Author: Ludovic Courtès <address@hidden>
AuthorDate: Sun Mar 29 15:08:27 2020 +0200

    services: shepherd: Mark '.go' derivations as non-substitutable.
    
    * gnu/services/shepherd.scm (scm->go): Pass #:options to 'computed-file'.
---
 gnu/services/shepherd.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm
index d483ff1..bad0898 100644
--- a/gnu/services/shepherd.scm
+++ b/gnu/services/shepherd.scm
@@ -269,7 +269,11 @@ and return the resulting '.go' file."
                          (module-use! env (resolve-interface '(oop goops)))
                          (module-use! env (resolve-interface '(shepherd 
service)))
                          (compile-file #$file #:output-file #$output
-                                       #:env env))))))
+                                       #:env env)))
+
+                   ;; It's faster to build locally than to download.
+                   #:options '(#:local-build? #t
+                               #:substitutable? #f))))
 
 (define (shepherd-configuration-file services)
   "Return the shepherd configuration file for SERVICES."



reply via email to

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