guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

124/376: Fix warning about non-existant -I directories


From: Ludovic Courtès
Subject: 124/376: Fix warning about non-existant -I directories
Date: Wed, 28 Jan 2015 22:04:28 +0000

civodul pushed a commit to tag 1.8
in repository guix.

commit 5bed74d1b0acd8d8083fb82a31d907ad2348a91b
Author: Eelco Dolstra <address@hidden>
Date:   Wed Aug 13 02:57:59 2014 +0200

    Fix warning about non-existant -I directories
---
 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 87b6bc9..b752e1c 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");
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]