summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-12-21 23:31:19 +0100
committerLudovic Courtès <ludo@gnu.org>2018-12-21 23:50:13 +0100
commitb96e05aefd7a4f734cfec3b27c2d38320d43b687 (patch)
tree76cba2ffb70f498912320c92e774ffc1da79e734 /gnu/packages
parent63b0c3eaccdf1816b419632cd7fe721934d2eb27 (diff)
downloadguix-b96e05aefd7a4f734cfec3b27c2d38320d43b687.tar.gz
offload: Recognize build failures due to lack of disk space.
Previously, if a remote build would fail due to lack of disk space, this
would be considered a permanent failure and thus cached as a build
failure if the local daemon runs with '--cache-failures'.

* guix/scripts/offload.scm (transfer-and-offload): Upon
'nix-protocol-error?' call 'node-free-disk-space' and return 1 instead
of 100 if the result if lower than 10 MiB.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions