1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

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).
This commit is contained in:
Eelco Dolstra 2014-02-26 15:21:56 +01:00
parent 733214144a
commit f14ef84a51
3 changed files with 6 additions and 5 deletions

View file

@ -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);