* Started removing closure store expressions, i.e., the explicit
representation of closures as ATerms in the Nix store.  Instead, the
  file system pointer graph is now stored in the Nix database.  This
  has many advantages:
  - It greatly simplifies the implementation (we can drop the notion
    of `successors', and so on).
  - It makes registering roots for the garbage collector much easier.
    Instead of specifying the closure expression as a root, you can
    simply specify the store path that must be retained as a root.
    This could not be done previously, since there was no way to find
    the closure store expression containing a given store path.
    
  - Better traceability: it is now possible to query what paths are
    referenced by a path, and what paths refer to a path.
			
			
This commit is contained in:
		
							parent
							
								
									e9762e2d10
								
							
						
					
					
						commit
						863dcff6c5
					
				
					 15 changed files with 407 additions and 890 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,6 @@
 | 
			
		|||
init initStoreExprHelpers
 | 
			
		||||
 | 
			
		||||
Closure | ATermList ATermList | ATerm |
 | 
			
		||||
Derive | ATermList ATermList string string ATermList ATermList | ATerm |
 | 
			
		||||
Derive | ATermList ATermList ATermList string string ATermList ATermList | ATerm |
 | 
			
		||||
 | 
			
		||||
| string string | ATerm | EnvBinding |
 | 
			
		||||
| string ATermList | ATerm | ClosureElem |
 | 
			
		||||
| string string string string | ATerm | DerivationOutput |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue