mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 23:12:44 +01:00
Actually fix nixDataDir in non-canonical path
(cherry picked from commit 14ca85688c)
This commit is contained in:
parent
77a2cd2f5e
commit
7e989da790
2 changed files with 2 additions and 2 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=" + canonPath(settings.nixDataDir + "/nix/corepkgs"));
|
||||
addToSearchPath("nix=" + canonPath(settings.nixDataDir + "/nix/corepkgs", true));
|
||||
|
||||
if (settings.restrictEval || settings.pureEval) {
|
||||
allowedPaths = PathSet();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue