services: cuirass: Remove use-substitutes? configuration option.

As of Cuirass commit 9a1452ee021c9f773424961cfeef47ca0b7c5c5a, this option
seems to be unused and kept for back compatibility there.

* gnu/services/cuirass.scm (<cuirass-configuration>): Remove use-substitutes?
field.
(cuirass-shepherd-service): Remove the option.
* doc/guix.texi (Continuous Integration): Remove option documentation.

Change-Id: I933550ce76eecdf918b07891aa8212fd30a7c87e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Ahmad Draidi 2024-05-02 05:37:49 +04:00 committed by Ludovic Courtès
parent 70f277d0e4
commit 7d9ad8f3a6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 0 additions and 8 deletions

View file

@ -34488,10 +34488,6 @@ A gexp (@pxref{G-Expressions}) that evaluates to a list of
specifications records. The specification record is described in the specifications records. The specification record is described in the
Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass}). Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass}).
@item @code{use-substitutes?} (default: @code{#f})
This allows using substitutes to avoid building every dependencies of a job
from source.
@item @code{one-shot?} (default: @code{#f}) @item @code{one-shot?} (default: @code{#f})
Only evaluate specifications and build derivations once. Only evaluate specifications and build derivations once.

View file

@ -117,8 +117,6 @@ (define-record-type* <cuirass-configuration>
(default "localhost")) (default "localhost"))
(specifications cuirass-configuration-specifications) (specifications cuirass-configuration-specifications)
;gexp that evaluates to specification-alist ;gexp that evaluates to specification-alist
(use-substitutes? cuirass-configuration-use-substitutes? ;boolean
(default #f))
(one-shot? cuirass-configuration-one-shot? ;boolean (one-shot? cuirass-configuration-one-shot? ;boolean
(default #f)) (default #f))
(fallback? cuirass-configuration-fallback? ;boolean (fallback? cuirass-configuration-fallback? ;boolean
@ -147,7 +145,6 @@ (define (cuirass-shepherd-service config)
(config-file (scheme-file (config-file (scheme-file
"cuirass-specs.scm" "cuirass-specs.scm"
(cuirass-configuration-specifications config))) (cuirass-configuration-specifications config)))
(use-substitutes? (cuirass-configuration-use-substitutes? config))
(one-shot? (cuirass-configuration-one-shot? config)) (one-shot? (cuirass-configuration-one-shot? config))
(fallback? (cuirass-configuration-fallback? config)) (fallback? (cuirass-configuration-fallback? config))
(extra-options (cuirass-configuration-extra-options config)) (extra-options (cuirass-configuration-extra-options config))
@ -182,7 +179,6 @@ (define (cuirass-shepherd-service config)
parameters)) parameters))
'()) '())
#$@(if remote-server '("--build-remote") '()) #$@(if remote-server '("--build-remote") '())
#$@(if use-substitutes? '("--use-substitutes") '())
#$@(if one-shot? '("--one-shot") '()) #$@(if one-shot? '("--one-shot") '())
#$@(if fallback? '("--fallback") '()) #$@(if fallback? '("--fallback") '())
#$@extra-options) #$@extra-options)