mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Show position info for failing <...> lookups
This commit is contained in:
parent
6fec43ccb3
commit
153a943de7
3 changed files with 8 additions and 4 deletions
|
@ -775,7 +775,7 @@ static void prim_findFile(EvalState & state, const Pos & pos, Value * * args, Va
|
|||
% path % e.path % pos);
|
||||
}
|
||||
|
||||
mkPath(v, state.findFile(searchPath, path).c_str());
|
||||
mkPath(v, state.findFile(searchPath, path, pos).c_str());
|
||||
}
|
||||
|
||||
/* Read a directory (without . or ..) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue