mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
Revert "Merge pull request #6204 from layus/coerce-string"
This reverts commita75b7ba30f
, reversing changes made to9af16c5f74
.
This commit is contained in:
parent
98f57f44bb
commit
9b33ef3879
31 changed files with 865 additions and 988 deletions
|
@ -118,7 +118,7 @@ std::pair<std::string, uint32_t> findPackageFilename(EvalState & state, Value &
|
|||
|
||||
// FIXME: is it possible to extract the Pos object instead of doing this
|
||||
// toString + parsing?
|
||||
auto pos = state.forceString(*v2, noPos, "while evaluating the 'meta.position' attribute of a derivation");
|
||||
auto pos = state.forceString(*v2);
|
||||
|
||||
auto colon = pos.rfind(':');
|
||||
if (colon == std::string::npos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue