me
/
guix
Archived
1
0
Fork 0

offload: Exit with code 100 upon build failures.

* guix/scripts/offload.scm (transfer-and-offload): Exit with code 100
  upon build failure.
master
Ludovic Courtès 2014-03-31 10:57:28 +02:00
parent c4202d60b2
commit 36b5851df6
1 changed files with 4 additions and 1 deletions

View File

@ -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