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:
parent
56131a2709
commit
62309a2c56
2 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue