This ensures that 1) the derivation doesn't change when Nix changes; 2) the derivation closure doesn't contain Nix and its dependencies; 3) we don't have to rely on ugly chroot hacks.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			112 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			112 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "derivations.hh"
 | |
| 
 | |
| namespace nix {
 | |
| 
 | |
| void builtinFetchurl(const BasicDerivation & drv);
 | |
| 
 | |
| }
 |