forked from lix-project/lix
nix-push: Don't pollute the current directory with result symlink
This commit is contained in:
parent
37f7098464
commit
000132cbd1
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue