aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/attr-path.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/attr-path.hh')
-rw-r--r--src/libexpr/attr-path.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/attr-path.hh b/src/libexpr/attr-path.hh
index b2bfb5d04..eb00ffb93 100644
--- a/src/libexpr/attr-path.hh
+++ b/src/libexpr/attr-path.hh
@@ -20,7 +20,7 @@ std::pair<Value *, PosIdx> findAlongAttrPath(
/**
* Heuristic to find the filename and lineno or a nix value.
*/
-std::pair<std::string, uint32_t> findPackageFilename(EvalState & state, Value & v, std::string what);
+std::pair<SourcePath, uint32_t> findPackageFilename(EvalState & state, Value & v, std::string what);
std::vector<Symbol> parseAttrPath(EvalState & state, std::string_view s);