diff options
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/offload.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm index d06dd744a8..187f1d44c1 100644 --- a/guix/scripts/offload.scm +++ b/guix/scripts/offload.scm @@ -350,7 +350,10 @@ with exit code ~a~%" (derivation-file-name drv) (build-machine-name machine) (status:exit-val status)) - (primitive-exit (status:exit-val status))))))) + + ;; Use exit code 100 for a permanent build failure. The daemon + ;; interprets other non-zero codes as transient build failures. + (primitive-exit 100)))))) (define (send-files files machine) "Send the subset of FILES that's missing to MACHINE's store. Return #t on |