From 000132cbd1624a681a8114a117de07a56a7eed4e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 29 Jun 2012 18:30:28 -0400 Subject: [PATCH] nix-push: Don't pollute the current directory with result symlink --- scripts/nix-push.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { chomp;