* Store the size of a store path in the database (to be precise, the
size of the NAR serialisation of the path, i.e., `nix-store --dump PATH'). This is useful for Hydra.
This commit is contained in:
		
							parent
							
								
									fb9368b5a0
								
							
						
					
					
						commit
						a3883cbd28
					
				
					 16 changed files with 144 additions and 91 deletions
				
			
		| 
						 | 
				
			
			@ -68,7 +68,7 @@ static void hashAndLink(bool dryRun, HashToPath & hashToPath,
 | 
			
		|||
           the contents of the symlink (i.e. the result of
 | 
			
		||||
           readlink()), not the contents of the target (which may not
 | 
			
		||||
           even exist). */
 | 
			
		||||
        Hash hash = hashPath(htSHA256, path);
 | 
			
		||||
        Hash hash = hashPath(htSHA256, path).first;
 | 
			
		||||
        stats.totalFiles++;
 | 
			
		||||
        printMsg(lvlDebug, format("`%1%' has hash `%2%'") % path % printHash(hash));
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue