diff --git a/src/libexpr/attr-path.cc b/src/libexpr/attr-path.cc index c86dbeebb16e888742069b9c3222b9a2616fd1c9..06b472d8bfaf0ff35a8225e90df19ad9b1e63e39 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(':');