Progress indicator: Show on what machine we're building
E.g. $ nix build nixpkgs.hello --builders 'root@wendy' [1/0/1 built] building hello-2.10 on ssh://root@wendy: checking for minix/config.h... no
This commit is contained in:
		
							parent
							
								
									f8624762ac
								
							
						
					
					
						commit
						be220702a7
					
				
					 3 changed files with 11 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -156,6 +156,9 @@ public:
 | 
			
		|||
            if (hasSuffix(name, ".drv"))
 | 
			
		||||
                name.resize(name.size() - 4);
 | 
			
		||||
            i->s = fmt("building " ANSI_BOLD "%s" ANSI_NORMAL, name);
 | 
			
		||||
            auto machineName = getS(fields, 1);
 | 
			
		||||
            if (machineName != "")
 | 
			
		||||
                i->s += fmt(" on " ANSI_BOLD "%s" ANSI_NORMAL, machineName);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (type == actSubstitute) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue