about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-06-29T22·30-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-06-29T22·30-0400
commit000132cbd1624a681a8114a117de07a56a7eed4e (patch)
tree3c0a6c42bd064bccc2337d978ce583c5a34e522e /scripts
parent37f70984645b4fc5e6ed9f30a858ba6fbf402441 (diff)
nix-push: Don't pollute the current directory with result symlink
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/nix-push.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in
index 4a8bdc81b50d..9f73b812705a 100755
--- a/scripts/nix-push.in
+++ b/scripts/nix-push.in
@@ -104,7 +104,7 @@ close NIX;
 # Build the Nix expression.
 print STDERR "building compressed archives...\n";
 my @narPaths;
-my $pid = open(READ, "$Nix::Config::binDir/nix-build $nixExpr|")
+my $pid = open(READ, "$Nix::Config::binDir/nix-build $nixExpr -o $tmpDir/result |")
     or die "cannot run nix-build";
 while (<READ>) {
     chomp;