* Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-build
and nix-env, e.g., $ nix-env -f '<nixpkgs>' -i patchelf or $ nix-build '<nixos/tests>' -A login.test
This commit is contained in:
		
							parent
							
								
									23c38a04cc
								
							
						
					
					
						commit
						b12b21825c
					
				
					 5 changed files with 16 additions and 4 deletions
				
			
		|  | @ -1270,7 +1270,7 @@ void run(Strings args) | |||
|         else if (arg == "--profile" || arg == "-p") | ||||
|             globals.profile = absPath(needArg(i, args, arg)); | ||||
|         else if (arg == "--file" || arg == "-f") | ||||
|             globals.instSource.nixExprPath = absPath(needArg(i, args, arg)); | ||||
|             globals.instSource.nixExprPath = lookupFileArg(globals.state, needArg(i, args, arg)); | ||||
|         else if (arg == "--switch-profile" || arg == "-S") | ||||
|             op = opSwitchProfile; | ||||
|         else if (arg == "--switch-generation" || arg == "-G") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue