From f14ef84a51e211b3924f59333d98d838ab500740 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Feb 2014 15:21:56 +0100 Subject: Warn about missing -I paths Fixes #121. Note that we don't warn about missing $NIX_PATH entries because it's intended that some may be missing (cf. the default $NIX_PATH on NixOS, which includes paths like /etc/nixos/nixpkgs for backward compatibility). --- src/libexpr/eval.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/eval.hh') diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 5ae5a1e3cf..6da89c58a6 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -120,7 +120,7 @@ public: EvalState(); ~EvalState(); - void addToSearchPath(const string & s); + void addToSearchPath(const string & s, bool warn = false); /* Parse a Nix expression from the specified file. */ Expr * parseExprFromFile(const Path & path); -- cgit 1.4.1