mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
offload: Send the build log to the right file descriptor.
This fixes a regression introduced in
21531add32
whereby the build log would no
longer be sent to FD 4, thereby leading the daemon to not see the build
log.
* guix/scripts/offload.scm (transfer-and-offload): Parameterize
CURRENT-BUILD-OUTPUT-PORT.
This commit is contained in:
parent
8243951ef1
commit
0237d79717
1 changed files with 2 additions and 1 deletions
|
@ -390,7 +390,8 @@ (define store
|
|||
;; Use exit code 100 for a permanent build failure. The daemon
|
||||
;; interprets other non-zero codes as transient build failures.
|
||||
(primitive-exit 100)))
|
||||
(build-derivations store (list drv)))
|
||||
(parameterize ((current-build-output-port (build-log-port)))
|
||||
(build-derivations store (list drv))))
|
||||
|
||||
(retrieve-files outputs store)
|
||||
(format (current-error-port) "done with offloaded '~a'~%"
|
||||
|
|
Loading…
Reference in a new issue