From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVaZR-0007Pf-H9 for guix-patches@gnu.org; Thu, 13 Jul 2017 05:38:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVaZO-00073K-F6 for guix-patches@gnu.org; Thu, 13 Jul 2017 05:38:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33604) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVaZO-00073G-BG for guix-patches@gnu.org; Thu, 13 Jul 2017 05:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dVaZO-0001Ol-69 for guix-patches@gnu.org; Thu, 13 Jul 2017 05:38:02 -0400 Subject: [bug#27679] [PATCH] services: cuirass: Add fallback parameter. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVaYw-0007Oo-Rv for guix-patches@gnu.org; Thu, 13 Jul 2017 05:37:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVaYt-0006uf-Lh for guix-patches@gnu.org; Thu, 13 Jul 2017 05:37:34 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:36238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVaYt-0006uZ-Fu for guix-patches@gnu.org; Thu, 13 Jul 2017 05:37:31 -0400 Received: by mail-wm0-x22a.google.com with SMTP id 62so17826799wmw.1 for ; Thu, 13 Jul 2017 02:37:31 -0700 (PDT) From: Mathieu Othacehe Date: Thu, 13 Jul 2017 11:37:24 +0200 Message-Id: <20170713093724.10015-1-m.othacehe@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27679@debbugs.gnu.org * gnu/services/cuirass.scm ()[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