diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-06-29 18:30:28 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-06-29 18:30:28 -0400 |
commit | 000132cbd1624a681a8114a117de07a56a7eed4e (patch) | |
tree | 3c0a6c42bd064bccc2337d978ce583c5a34e522e | |
parent | 37f70984645b4fc5e6ed9f30a858ba6fbf402441 (diff) |
nix-push: Don't pollute the current directory with result symlink
-rwxr-xr-x | scripts/nix-push.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in index 4a8bdc81b..9f73b8127 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; |