nix-push: Don't pollute the current directory with result symlink
This commit is contained in:
		
							parent
							
								
									37f7098464
								
							
						
					
					
						commit
						000132cbd1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue