nix-push: Don't pollute the current directory with result symlink

This commit is contained in:
Eelco Dolstra 2012-06-29 18:30:28 -04:00
parent 37f7098464
commit 000132cbd1

View file

@ -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;