* Revert r19650 (implement gc-keep-outputs by looking for derivations
with the same name as the output) and instead use the DerivationOutputs table in the database, which is the correct way to to do things.
This commit is contained in:
		
							parent
							
								
									299ff64812
								
							
						
					
					
						commit
						103cfee056
					
				
					 5 changed files with 34 additions and 74 deletions
				
			
		|  | @ -243,12 +243,6 @@ void checkStoreName(const string & name); | |||
| Path toStorePath(const Path & path); | ||||
| 
 | ||||
| 
 | ||||
| /* Get the "name" part of a store path, that is, the part after the
 | ||||
|    hash and the dash, and with any ".drv" suffix removed | ||||
|    (e.g. /nix/store/<hash>-foo-1.2.3.drv => foo-1.2.3). */ | ||||
| string getNameOfStorePath(const Path & path); | ||||
| 
 | ||||
| 
 | ||||
| /* Follow symlinks until we end up with a path in the Nix store. */ | ||||
| Path followLinksToStore(const Path & path); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue