diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-13T00·57+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-13T00·57+0200 |
commit | 5bed74d1b0acd8d8083fb82a31d907ad2348a91b (patch) | |
tree | 4a39e95c71a0bf7fe1fce21c20565834127f867f /src/libexpr | |
parent | 401ab50566fc40e563e154b6db7dfb2f17293879 (diff) |
Fix warning about non-existant -I directories
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 87b6bc991574..b752e1c75622 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -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"); |