Merge branch 'write-failure-fixes' of git://github.com/lheckemann/nix
This commit is contained in:
		
						commit
						aa8bbbf69d
					
				
					 5 changed files with 16 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -631,6 +631,7 @@ static void opDump(Strings opFlags, Strings opArgs)
 | 
			
		|||
    FdSink sink(STDOUT_FILENO);
 | 
			
		||||
    string path = *opArgs.begin();
 | 
			
		||||
    dumpPath(path, sink);
 | 
			
		||||
    sink.flush();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -656,6 +657,7 @@ static void opExport(Strings opFlags, Strings opArgs)
 | 
			
		|||
 | 
			
		||||
    FdSink sink(STDOUT_FILENO);
 | 
			
		||||
    store->exportPaths(opArgs, sink);
 | 
			
		||||
    sink.flush();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue