diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-03-29 15:08:27 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-03-29 15:32:18 +0200 |
commit | 0e833ac5f4ebd6c6bfc75a5f110c2c85b8be804a (patch) | |
tree | caa657c60641a5c8e6ca7ac9966b3161afa94b00 | |
parent | 131f50cdc9dbb7183023f4dae759876a9e700bef (diff) | |
download | patches-0e833ac5f4ebd6c6bfc75a5f110c2c85b8be804a.tar patches-0e833ac5f4ebd6c6bfc75a5f110c2c85b8be804a.tar.gz |
services: shepherd: Mark '.go' derivations as non-substitutable.
* gnu/services/shepherd.scm (scm->go): Pass #:options to 'computed-file'.
-rw-r--r-- | gnu/services/shepherd.scm | 6 |
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." |