aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/attr-path.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-18 13:44:40 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-18 14:03:00 +0200
commit2a61bbf77fd1b4bd518912b4923265b91a8f9d67 (patch)
tree86545bc4a6240b3a2c13711966bd83db0c204e19 /src/libexpr/attr-path.hh
parent7083d33efee2b4782c52dc04d90f7c08e96b79d1 (diff)
Some backports from the flakes branch
Diffstat (limited to 'src/libexpr/attr-path.hh')
-rw-r--r--src/libexpr/attr-path.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/attr-path.hh b/src/libexpr/attr-path.hh
index fce160da7..d9d74ab2d 100644
--- a/src/libexpr/attr-path.hh
+++ b/src/libexpr/attr-path.hh
@@ -16,4 +16,6 @@ std::pair<Value *, Pos> findAlongAttrPath(EvalState & state, const string & attr
/* Heuristic to find the filename and lineno or a nix value. */
Pos findDerivationFilename(EvalState & state, Value & v, std::string what);
+std::vector<Symbol> parseAttrPath(EvalState & state, std::string_view s);
+
}