mirror of
https://github.com/NixOS/nix
synced 2025-06-29 10:31:15 +02:00
Remove toString deprecation warning
This commit is contained in:
parent
3522978772
commit
f4f0f8ae3f
1 changed files with 0 additions and 2 deletions
|
@ -48,8 +48,6 @@ SourcePath EvalState::decodePath(std::string_view s, PosIdx pos)
|
||||||
|
|
||||||
SourcePath path {accessor->second, CanonPath(s)};
|
SourcePath path {accessor->second, CanonPath(s)};
|
||||||
|
|
||||||
warn("applying 'toString' to path '%s' and then accessing it is deprecated, at %s", path, positions[pos]);
|
|
||||||
|
|
||||||
return path;
|
return path;
|
||||||
} catch (std::invalid_argument & e) {
|
} catch (std::invalid_argument & e) {
|
||||||
fail();
|
fail();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue