summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-07-13 11:34:26 +0200
committerMathieu Othacehe <m.othacehe@gmail.com>2017-07-21 21:46:47 +0200
commitc800fd564b9dc37f1fb95fa5f49230b4865f0541 (patch)
tree9116f9b39a57150ea6c1991a6a3aea5da10b0af6 /gnu/services
parent3c14378381fc1f187a07b2f958eeed1958f02672 (diff)
services: cuirass: Add fallback parameter.
* gnu/services/cuirass.scm (<cuirass-configuration>)[fallback?]: New field. (cuirass-shepherd-service): Take it into account. * doc/guix.texi (Continuous Integration): Document it.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/cuirass.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm
index 88a9a86111..d27a2bbc44 100644
--- a/gnu/services/cuirass.scm
+++ b/gnu/services/cuirass.scm
@@ -66,6 +66,8 @@
(default #f))
(one-shot? cuirass-configuration-one-shot? ;boolean
(default #f))
+ (fallback? cuirass-configuration-fallback? ;boolean
+ (default #f))
(load-path cuirass-configuration-load-path
(default '())))
@@ -84,6 +86,7 @@
(specs (cuirass-configuration-specifications config))
(use-substitutes? (cuirass-configuration-use-substitutes? config))
(one-shot? (cuirass-configuration-one-shot? config))
+ (fallback? (cuirass-configuration-fallback? config))
(load-path (cuirass-configuration-load-path config)))
(list (shepherd-service
(documentation "Run Cuirass.")
@@ -99,6 +102,7 @@
"--interval" #$(number->string interval)
#$@(if use-substitutes? '("--use-substitutes") '())
#$@(if one-shot? '("--one-shot") '())
+ #$@(if fallback? '("--fallback") '())
#$@(if (null? load-path) '()
`("--load-path" ,(string-join load-path ":"))))
#:user #$user