1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

build-remote.pl: Be less verbose on failing builds

This commit is contained in:
Eelco Dolstra 2014-07-24 12:43:59 +02:00
parent 56131a2709
commit 62309a2c56
2 changed files with 6 additions and 5 deletions

View file

@ -263,7 +263,8 @@ if ($res != 0) {
# or a temporary Nix problem). We propagate this to the caller to
# allow it to distinguish between transient and permanent
# failures.
print STDERR "build of `$drvPath' on `$hostName' failed with exit code $res\n";
my $msg = readString($from);
print STDERR "error: $msg (on `$hostName')\n";
exit $res;
}