services: shepherd: Mark '.go' derivations as non-substitutable.
authorLudovic Courtès <ludo@gnu.org>
Sun, 29 Mar 2020 13:08:27 +0000 (15:08 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 29 Mar 2020 13:32:18 +0000 (15:32 +0200)
* gnu/services/shepherd.scm (scm->go): Pass #:options to 'computed-file'.

gnu/services/shepherd.scm

index d483ff1..bad0898 100644 (file)
@@ -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."