From 0470f9343ad7ea41fe9ac30e3be4452cd52d7ba4 Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Fri, 8 Nov 2024 08:20:41 +0800 Subject: [PATCH] resolve TODO --- nixd/lib/Eval/AttrSetProvider.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixd/lib/Eval/AttrSetProvider.cpp b/nixd/lib/Eval/AttrSetProvider.cpp index feaaa548c..dd01a23f7 100644 --- a/nixd/lib/Eval/AttrSetProvider.cpp +++ b/nixd/lib/Eval/AttrSetProvider.cpp @@ -149,8 +149,7 @@ void fillOptionDescription(nix::EvalState &State, nix::Value &V, R.Example = nixt::getFieldString(State, *It->value, "text"); } else { std::ostringstream OS; - // TODO: replace this with something that can traverse the symbol table - // It->value->print(State.symbols, OS); + It->value->print(State, OS); R.Example = OS.str(); } }