all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27679] [PATCH] services: cuirass: Add fallback parameter.
@ 2017-07-13  9:37 Mathieu Othacehe
  2017-07-17  9:21 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2017-07-13  9:37 UTC (permalink / raw)
  To: 27679

* gnu/services/cuirass.scm (<cuirass-configuration>)[fallback?]: New field.
(cuirass-shepherd-service): Take it into account.
---
 gnu/services/cuirass.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm
index 88a9a8611..d27a2bbc4 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
-- 
2.13.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#27679] [PATCH] services: cuirass: Add fallback parameter.
  2017-07-13  9:37 [bug#27679] [PATCH] services: cuirass: Add fallback parameter Mathieu Othacehe
@ 2017-07-17  9:21 ` Ludovic Courtès
  2017-07-21 19:50   ` bug#27679: " Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-17  9:21 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 27679

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

> * gnu/services/cuirass.scm (<cuirass-configuration>)[fallback?]: New field.
> (cuirass-shepherd-service): Take it into account.

I’m afraid you’ll have to update guix.texi ;-), but otherwise LGTM!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27679: [PATCH] services: cuirass: Add fallback parameter.
  2017-07-17  9:21 ` Ludovic Courtès
@ 2017-07-21 19:50   ` Mathieu Othacehe
  0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2017-07-21 19:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27679-done


> I’m afraid you’ll have to update guix.texi ;-), but otherwise LGTM!

Oops forget it again :(, done and pushed !

Thanks,

Mathieu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-21 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-13  9:37 [bug#27679] [PATCH] services: cuirass: Add fallback parameter Mathieu Othacehe
2017-07-17  9:21 ` Ludovic Courtès
2017-07-21 19:50   ` bug#27679: " Mathieu Othacehe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.