diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-06-22T14·42+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-06-22T14·42+0000 |
commit | 87ef5907e97f455bd4064f4d6e5f3c972402a8b9 (patch) | |
tree | 98a51243f8e068c04133034d306c71f9ca26e13e /scripts | |
parent | 3e5e0faf9cf93c01fb621774c0c3c50ce51bdd91 (diff) | |
parent | 819548d92f45d8aea671ca9a3e938ff928679063 (diff) |
* Sync.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-remote.pl.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index 2afa3af562a4..c440b6a0f142 100755 --- a/scripts/build-remote.pl.in +++ b/scripts/build-remote.pl.in @@ -211,14 +211,14 @@ system("NIX_SSHOPTS=\"@sshOpts\" @bindir@/nix-copy-closure $hostName $maybeSign print "building...\n"; -my $buildFlags = "--max-silent-time $maxSilentTime"; +my $buildFlags = "--max-silent-time $maxSilentTime --fallback"; # `-tt' forces allocation of a pseudo-terminal. This is required to # make the remote nix-store process receive a signal when the # connection dies. Without it, the remote process might continue to # run indefinitely (that is, until it next tries to write to # stdout/stderr). -if (system("ssh $hostName @sshOpts -tt 'nix-store --realise $buildFlags $drvPath > /dev/null'") != 0) { +if (system("ssh $hostName @sshOpts -tt 'nix-store -r $drvPath $buildFlags > /dev/null'") != 0) { # If we couldn't run ssh or there was an ssh problem (indicated by # exit code 255), then we return exit code 1; otherwise we assume # that the builder failed, which we indicate to Nix using exit |