nix-build: Support the ‘-’ argument to build an expression from stdin
This commit is contained in:
		
							parent
							
								
									6852289c46
								
							
						
					
					
						commit
						ed59bf7a18
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -118,6 +118,10 @@ EOF
 | 
				
			||||||
    elsif ($arg eq "--show-trace") {
 | 
					    elsif ($arg eq "--show-trace") {
 | 
				
			||||||
        push @instArgs, $arg;
 | 
					        push @instArgs, $arg;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    elsif ($arg eq "-") {
 | 
				
			||||||
 | 
					        @exprs = ("-");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    elsif ($arg eq "--verbose" or substr($arg, 0, 2) eq "-v") {
 | 
					    elsif ($arg eq "--verbose" or substr($arg, 0, 2) eq "-v") {
 | 
				
			||||||
        push @buildArgs, $arg;
 | 
					        push @buildArgs, $arg;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue