libexpr: Delete EvalState::mkSingleDerivedPathString dead function with Value& out param

Part of #1136, I believe this cleans up the final instance of `Value&`
used as an out parameter.

Change-Id: I40153b1f11d5ca9af06cd427f22896d06a6a6964
This commit is contained in:
skye
2026-04-19 12:45:56 -04:00
parent 5afda956a7
commit 0e971cddee
2 changed files with 0 additions and 22 deletions
-13
View File
@@ -908,19 +908,6 @@ std::string EvalState::mkSingleDerivedPathStringRaw(
}
void EvalState::mkSingleDerivedPathString(
const SingleDerivedPath & p,
Value & v)
{
v = {
NewValueAs::string,
mkSingleDerivedPathStringRaw(p),
NixStringContext{
std::visit([](auto && v) -> NixStringContextElem { return v; }, p),
}
};
}
struct CachedEvalFile
{
Value result;
-9
View File
@@ -817,15 +817,6 @@ public:
*/
Value mkOutputString(const SingleDerivedPath::Built & b, const StorePath & staticOutputPath);
/**
* Create a string representing a `SingleDerivedPath`.
*
* A combination of `mkStorePathString` and `mkOutputString`.
*/
void mkSingleDerivedPathString(
const SingleDerivedPath & p,
Value & v);
Value updateAttrs(const Value & v1, const Value & v2);
Value concatLists(std::span<Value> lists, const PosIdx pos, std::string_view errorCtx);