Improve substitution progress indicator
E.g. $ nix build --store local?root=/tmp/nix nixpkgs.firefox-unwrapped [0/1 built, 1/97/98 fetched, 65.8/92.8 MiB DL, 203.2/309.2 MiB copied] downloading 'https://cache.nixos.org/nar/1czm9fk0svacy4h6a3fzkpafi4f7a9gml36kk8cq1igaghbspg3k.nar.xz'
This commit is contained in:
		
							parent
							
								
									b29b6feaba
								
							
						
					
					
						commit
						c36467ad2e
					
				
					 5 changed files with 93 additions and 86 deletions
				
			
		| 
						 | 
				
			
			@ -229,7 +229,7 @@ std::vector<std::shared_ptr<Installable>> InstallablesCommand::parseInstallables
 | 
			
		|||
 | 
			
		||||
PathSet InstallablesCommand::toStorePaths(ref<Store> store, ToStorePathsMode mode)
 | 
			
		||||
{
 | 
			
		||||
    if (mode != DryRun)
 | 
			
		||||
    if (mode != Build)
 | 
			
		||||
        settings.readOnlyMode = true;
 | 
			
		||||
 | 
			
		||||
    PathSet outPaths, buildables;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue