diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 14:20:58 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-03-24 14:06:47 +0100 |
commit | 1eb952d27ac0714a99a5f7b0e8c7034e7ac0bc0d (patch) | |
tree | 3528dfd7aee9be9469d166e5d348a6ed1141b117 /src/libexpr/attr-path.hh | |
parent | edc34cc1a2865777cee6b325f705fb218955b593 (diff) |
findAlongAttrPath(): Throw AttrPathNotFound
(cherry picked from commit 6b0ca8e803710342af70e257935724c5ad84ca04)
Diffstat (limited to 'src/libexpr/attr-path.hh')
-rw-r--r-- | src/libexpr/attr-path.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/attr-path.hh b/src/libexpr/attr-path.hh index 716e5ba27..fcccc39c8 100644 --- a/src/libexpr/attr-path.hh +++ b/src/libexpr/attr-path.hh @@ -7,6 +7,8 @@ namespace nix { +MakeError(AttrPathNotFound, Error); + Value * findAlongAttrPath(EvalState & state, const string & attrPath, Bindings & autoArgs, Value & vIn); |