diff options
author | zimbatm <zimbatm@zimbatm.com> | 2019-10-28 21:40:02 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2019-10-28 21:40:02 +0100 |
commit | 9a2505965667267f03a8385926f3b31a47732ed5 (patch) | |
tree | b1318ab99ed777d5cb48fe62381c5f6c0ba73b71 /src/libexpr | |
parent | d407f4d15f86aca585e0edebc5bc74ab8b1bebd1 (diff) |
findDerivationFilename: add FIXME
Diffstat (limited to 'src/libexpr')
-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(':'); |