aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-29 15:08:27 +0200
committerLudovic Courtès <ludo@gnu.org>2020-03-29 15:32:18 +0200
commit0e833ac5f4ebd6c6bfc75a5f110c2c85b8be804a (patch)
treecaa657c60641a5c8e6ca7ac9966b3161afa94b00 /gnu/services
parent131f50cdc9dbb7183023f4dae759876a9e700bef (diff)
downloadguix-0e833ac5f4ebd6c6bfc75a5f110c2c85b8be804a.tar
guix-0e833ac5f4ebd6c6bfc75a5f110c2c85b8be804a.tar.gz
services: shepherd: Mark '.go' derivations as non-substitutable.
* gnu/services/shepherd.scm (scm->go): Pass #:options to 'computed-file'.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/shepherd.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm
index d483ff1a15..bad089844d 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."