Support Git repos in the Nix path
E.g. $ nix-build -I nixpkgs=git://github.com/NixOS/nixpkgs '<nixpkgs>' -A hello This is not extremely useful yet because you can't specify a branch/revision.
This commit is contained in:
		
							parent
							
								
									38539b943a
								
							
						
					
					
						commit
						d8bf0d4859
					
				
					 5 changed files with 71 additions and 37 deletions
				
			
		
							
								
								
									
										14
									
								
								src/libexpr/primops/fetchgit.hh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								src/libexpr/primops/fetchgit.hh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <string> | ||||
| 
 | ||||
| #include "ref.hh" | ||||
| 
 | ||||
| namespace nix { | ||||
| 
 | ||||
| class Store; | ||||
| 
 | ||||
| Path exportGit(ref<Store> store, | ||||
|     const std::string & uri, const std::string & rev); | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue