* Substitutes now should produce a path with the same id as they are
substituting for (obvious, really). * For greater efficiency, nix-pull/unnar will place the output in a path that is probably the same as what is actually needed, thus preventing a path copy. * Even if a output id is given in a Fix package expression, ensure that the resulting Nix derive expression has a different id. This is because Nix expressions that are semantically equivalent (i.e., build the same result) might be different w.r.t. efficiency or divergence. It is absolutely vital for the substitute mechanism that such expressions are not used interchangeably.
This commit is contained in:
		
							parent
							
								
									df648c4967
								
							
						
					
					
						commit
						e877c69d78
					
				
					 8 changed files with 86 additions and 50 deletions
				
			
		|  | @ -62,9 +62,6 @@ static void parseIds(ATermList ids, FSIds & out) | |||
| } | ||||
| 
 | ||||
| 
 | ||||
| typedef set<FSId> FSIdSet; | ||||
| 
 | ||||
| 
 | ||||
| static void checkSlice(const Slice & slice) | ||||
| { | ||||
|     if (slice.elems.size() == 0) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue