From 39d72640c2459dc2fa689bfe8b756ee193f7b98a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 26 May 2014 16:50:36 +0200 Subject: Ensure that -I flags get included in nixPath Also fixes #261. --- src/libexpr/common-opts.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libexpr/common-opts.hh') diff --git a/src/libexpr/common-opts.hh b/src/libexpr/common-opts.hh index e2e3fe77171c..759358950f0a 100644 --- a/src/libexpr/common-opts.hh +++ b/src/libexpr/common-opts.hh @@ -8,9 +8,9 @@ namespace nix { bool parseOptionArg(const string & arg, Strings::iterator & i, const Strings::iterator & argsEnd, EvalState & state, Bindings & autoArgs); - + bool parseSearchPathArg(const string & arg, Strings::iterator & i, - const Strings::iterator & argsEnd, EvalState & state); + const Strings::iterator & argsEnd, Strings & searchPath); Path lookupFileArg(EvalState & state, string s); -- cgit 1.4.1