diff options
-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 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; |