nix why-depends: render output into $PAGER
This commit is contained in:
		
							parent
							
								
									dd98683e65
								
							
						
					
					
						commit
						8a98ffc276
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
#include "store-api.hh"
 | 
			
		||||
#include "progress-bar.hh"
 | 
			
		||||
#include "fs-accessor.hh"
 | 
			
		||||
#include "shared.hh"
 | 
			
		||||
 | 
			
		||||
#include <queue>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -237,6 +238,7 @@ struct CmdWhyDepends : SourceExprCommand
 | 
			
		|||
 | 
			
		||||
            visitPath(node.path);
 | 
			
		||||
 | 
			
		||||
            RunPager pager;
 | 
			
		||||
            for (auto & ref : refs) {
 | 
			
		||||
                auto hash = storePathToHash(ref.second->path);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue