* Export the nix-env derivation name parsing and version comparison
logic through the `parseDrvName' and `compareVersions' primops. This will allow expressions to easily check whether some dependency is a specific needed version or falls in some version range. See tests/lang/eval-okay-versions.nix for examples.
This commit is contained in:
		
							parent
							
								
									b3b0b2a29e
								
							
						
					
					
						commit
						d567baabbd
					
				
					 9 changed files with 103 additions and 37 deletions
				
			
		|  | @ -10,6 +10,8 @@ rec { | |||
|   concat = | ||||
|     fold (x: y: x + y) ""; | ||||
| 
 | ||||
|   and = fold (x: y: x && y) true; | ||||
| 
 | ||||
|   flatten = x: | ||||
|     if isList x | ||||
|     then fold (x: y: (flatten x) ++ y) [] x | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue