mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 14:20:52 +00:00
findDerivationFilename: add FIXME
This commit is contained in:
parent
d407f4d15f
commit
9a25059656
@ -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 New Issue
Block a user