diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-12-20 10:23:37 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-12-20 10:27:08 +0100 |
commit | 379b6ba5a906b62252dd5bcb142ec050ae34bc74 (patch) | |
tree | 5007d771618972605e7c05aaec7b579a1106ad70 /gnu | |
parent | 4a78638f1fafd58839c012b546ae206168bb50ab (diff) | |
download | guix-379b6ba5a906b62252dd5bcb142ec050ae34bc74.tar guix-379b6ba5a906b62252dd5bcb142ec050ae34bc74.tar.gz |
services: cuirass: Add 'cuirass' field.
* gnu/services/cuirass.scm (<cuirass-configuration>)[cuirass]: New
field.
(cuirass-shepherd-service): Honor it.
* doc/guix.texi (Continuous Integration): Document it.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/cuirass.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm index 91d78d15ac..0ecdccfec7 100644 --- a/gnu/services/cuirass.scm +++ b/gnu/services/cuirass.scm @@ -43,6 +43,8 @@ (define-record-type* <cuirass-configuration> cuirass-configuration make-cuirass-configuration cuirass-configuration? + (cuirass cuirass-configuration-cuirass ;package + (default cuirass)) (log-file cuirass-configuration-log-file ;string (default "/var/log/cuirass.log")) (cache-directory cuirass-configuration-cache-directory ;string (dir-name) @@ -66,7 +68,8 @@ "Return a <shepherd-service> for the Cuirass service with CONFIG." (and (cuirass-configuration? config) - (let ((cache-directory (cuirass-configuration-cache-directory config)) + (let ((cuirass (cuirass-configuration-cuirass config)) + (cache-directory (cuirass-configuration-cache-directory config)) (log-file (cuirass-configuration-log-file config)) (user (cuirass-configuration-user config)) (group (cuirass-configuration-group config)) |