1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

findAlongAttrPath(): Return position

(cherry picked from commit 0b013a54dc)
This commit is contained in:
Eelco Dolstra 2020-02-07 14:08:24 +01:00
parent 1eb952d27a
commit c1ca4f0acc
8 changed files with 14 additions and 11 deletions

View file

@ -9,7 +9,7 @@ namespace nix {
MakeError(AttrPathNotFound, Error);
Value * findAlongAttrPath(EvalState & state, const string & attrPath,
std::pair<Value *, Pos> findAlongAttrPath(EvalState & state, const string & attrPath,
Bindings & autoArgs, Value & vIn);
/* Heuristic to find the filename and lineno or a nix value. */