forked from lix-project/lix
Fix warning about non-existant -I directories
This commit is contained in:
parent
401ab50566
commit
5bed74d1b0
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ EvalState::EvalState(const Strings & _searchPath)
|
|||
|
||||
/* Initialise the Nix expression search path. */
|
||||
Strings paths = tokenizeString<Strings>(getEnv("NIX_PATH", ""), ":");
|
||||
for (auto & i : _searchPath) addToSearchPath(i);
|
||||
for (auto & i : _searchPath) addToSearchPath(i, true);
|
||||
for (auto & i : paths) addToSearchPath(i);
|
||||
addToSearchPath("nix=" + settings.nixDataDir + "/nix/corepkgs");
|
||||
|
||||
|
|
Loading…
Reference in a new issue