diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-07-11T15·16+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-07-11T15·16+0200 |
commit | 6fcc2906194cbbc49a1e8d1862465e891b67d573 (patch) | |
tree | 62899ff45c30480ef8823763bb0a0c87c49f2a9e /scripts/build-remote.pl.in | |
parent | ed09d0c0a436a412893ffe817c842827abbec6ed (diff) |
build-remote.pl: Move "building ..." message to a better place
Diffstat (limited to 'scripts/build-remote.pl.in')
-rwxr-xr-x | scripts/build-remote.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index 2fb1015e6053..413d0402bf7a 100755 --- a/scripts/build-remote.pl.in +++ b/scripts/build-remote.pl.in @@ -213,7 +213,6 @@ my @inputs = split /\s/, readline(STDIN); my @outputs = split /\s/, readline(STDIN); -print STDERR "building `$drvPath' on `$hostName'\n"; print STDERR "@ build-remote $drvPath $hostName\n" if $printBuildTrace; @@ -272,6 +271,7 @@ my $buildFlags = # is interrupted unless the `-tt' flag is used to force a pseudo-tty, # in which case every child receives SIGHUP; however, `-tt' doesn't # work on some platforms when connection sharing is used.) +print STDERR "building `$drvPath' on `$hostName'\n"; pipe STDIN, DUMMY; # make sure we have a readable STDIN if (system("exec ssh $hostName @sshOpts '(read; kill -INT -\$\$) <&0 & exec nix-store -r $drvPath $buildFlags > /dev/null' 2>&4") != 0) { # Note that if we get exit code 100 from `nix-store -r', it |