mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
guix build: '--keep-failed' implies '--no-offload'.
* guix/scripts/build.scm (set-build-options-from-command-line): Pass #:offload? #f when 'keep-failed? is true. * doc/guix.texi (Common Build Options): Document it.
This commit is contained in:
parent
7f44ab48f9
commit
2ce08a5d79
2 changed files with 5 additions and 4 deletions
|
@ -8051,9 +8051,9 @@ the end of the build log. This is useful when debugging build issues.
|
|||
@xref{Debugging Build Failures}, for tips and tricks on how to debug
|
||||
build issues.
|
||||
|
||||
This option has no effect when connecting to a remote daemon with a
|
||||
@code{guix://} URI (@pxref{The Store, the @code{GUIX_DAEMON_SOCKET}
|
||||
variable}).
|
||||
This option implies @option{--no-offload}, and it has no effect when
|
||||
connecting to a remote daemon with a @code{guix://} URI (@pxref{The
|
||||
Store, the @code{GUIX_DAEMON_SOCKET} variable}).
|
||||
|
||||
@item --keep-going
|
||||
@itemx -k
|
||||
|
|
|
@ -545,7 +545,8 @@ (define (set-build-options-from-command-line store opts)
|
|||
#:fallback? (assoc-ref opts 'fallback?)
|
||||
#:use-substitutes? (assoc-ref opts 'substitutes?)
|
||||
#:substitute-urls (assoc-ref opts 'substitute-urls)
|
||||
#:offload? (assoc-ref opts 'offload?)
|
||||
#:offload? (and (assoc-ref opts 'offload?)
|
||||
(not (assoc-ref opts 'keep-failed?)))
|
||||
#:max-silent-time (assoc-ref opts 'max-silent-time)
|
||||
#:timeout (assoc-ref opts 'timeout)
|
||||
#:print-build-trace (assoc-ref opts 'print-build-trace?)
|
||||
|
|
Loading…
Reference in a new issue