Merge branch 'data-dir-non-canon' of https://github.com/shlevy/nix
This commit is contained in:
		
						commit
						179b896acb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -313,7 +313,7 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store) | |||
|         for (auto & i : _searchPath) addToSearchPath(i); | ||||
|         for (auto & i : paths) addToSearchPath(i); | ||||
|     } | ||||
|     addToSearchPath("nix=" + settings.nixDataDir + "/nix/corepkgs"); | ||||
|     addToSearchPath("nix=" + canonPath(settings.nixDataDir + "/nix/corepkgs")); | ||||
| 
 | ||||
|     if (settings.restrictEval || settings.pureEval) { | ||||
|         allowedPaths = PathSet(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue