Add option allowed-uris
This allows network access in restricted eval mode.
This commit is contained in:
		
							parent
							
								
									f1c555cef8
								
							
						
					
					
						commit
						812e027e1d
					
				
					 8 changed files with 67 additions and 7 deletions
				
			
		|  | @ -110,6 +110,8 @@ public: | |||
| 
 | ||||
|     Path checkSourcePath(const Path & path); | ||||
| 
 | ||||
|     void checkURI(const std::string & uri); | ||||
| 
 | ||||
|     /* Parse a Nix expression from the specified file. */ | ||||
|     Expr * parseExprFromFile(const Path & path); | ||||
|     Expr * parseExprFromFile(const Path & path, StaticEnv & staticEnv); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue