Sort nixPath attributes
This commit is contained in:
		
							parent
							
								
									54a34119f3
								
							
						
					
					
						commit
						becc2b0167
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1392,6 +1392,7 @@ void EvalState::createBaseEnv() | ||||||
|         mkAttrs(*v2, 2); |         mkAttrs(*v2, 2); | ||||||
|         mkString(*allocAttr(*v2, symbols.create("path")), i.second); |         mkString(*allocAttr(*v2, symbols.create("path")), i.second); | ||||||
|         mkString(*allocAttr(*v2, symbols.create("prefix")), i.first); |         mkString(*allocAttr(*v2, symbols.create("prefix")), i.first); | ||||||
|  |         v2->attrs->sort(); | ||||||
|     } |     } | ||||||
|     addConstant("nixPath", v); |     addConstant("nixPath", v); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue