diff options
Diffstat (limited to 'src/libexpr/attr-path.cc')
-rw-r--r-- | src/libexpr/attr-path.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/attr-path.cc b/src/libexpr/attr-path.cc index c86dbeebb..06b472d8b 100644 --- a/src/libexpr/attr-path.cc +++ b/src/libexpr/attr-path.cc @@ -103,6 +103,8 @@ Pos findDerivationFilename(EvalState & state, Value & v, std::string what) throw Error("package '%s' has no source location information", what); } + // FIXME: is it possible to extract the Pos object instead of doing this + // toString + parsing? auto pos = state.forceString(*v2); auto colon = pos.rfind(':'); |