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.
|
# Build the Nix expression.
|
||||||
print STDERR "building compressed archives...\n";
|
print STDERR "building compressed archives...\n";
|
||||||
my @narPaths;
|
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";
|
or die "cannot run nix-build";
|
||||||
while (<READ>) {
|
while (<READ>) {
|
||||||
chomp;
|
chomp;
|
||||||
|
|
Loading…
Reference in a new issue