offload: Send the build log to the right file descriptor.
commit0237d7971742ccfe5670455debb1feca9a491a0f
authorLudovic Courtès <ludo@gnu.org>
Mon, 5 Dec 2016 23:50:08 +0000 (6 00:50 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 5 Dec 2016 23:50:08 +0000 (6 00:50 +0100)
tree2456ae7f6d40bf043b130ce00d81950ce940a600
parent8243951ef1b9de902bfd719e40759d62696b8050
offload: Send the build log to the right file descriptor.

This fixes a regression introduced in
21531add3205e400707c8fbfd841845f9a71863a 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.
guix/scripts/offload.scm