mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
findDerivationFilename: add FIXME
This commit is contained in:
parent
d407f4d15f
commit
9a25059656
1 changed files with 2 additions and 0 deletions
|
@ -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(':');
|
||||
|
|
Loading…
Reference in a new issue