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
				
			
		|  | @ -333,6 +333,10 @@ template<class N> bool string2Float(const string & s, N & n) | |||
| } | ||||
| 
 | ||||
| 
 | ||||
| /* Return true iff `s' starts with `prefix'. */ | ||||
| bool hasPrefix(const string & s, const string & prefix); | ||||
| 
 | ||||
| 
 | ||||
| /* Return true iff `s' ends in `suffix'. */ | ||||
| bool hasSuffix(const string & s, const string & suffix); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue