From 5bed74d1b0acd8d8083fb82a31d907ad2348a91b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 13 Aug 2014 02:57:59 +0200 Subject: [PATCH] Fix warning about non-existant -I directories --- src/libexpr/eval.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 87b6bc991..b752e1c75 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(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");