1
0
Fork 0
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:
Eelco Dolstra 2015-01-07 13:43:55 +01:00
parent 6fec43ccb3
commit 153a943de7
3 changed files with 8 additions and 4 deletions

View file

@ -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 ..) */