From 24792c1d9d07601eb0170dbf49ea68e149711a7a Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Sat, 23 Nov 2024 11:11:51 +0800 Subject: [PATCH] add todo for getBuiltins --- libnixt/include/nixt/Value.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libnixt/include/nixt/Value.h b/libnixt/include/nixt/Value.h index 89887a598..076fbb989 100644 --- a/libnixt/include/nixt/Value.h +++ b/libnixt/include/nixt/Value.h @@ -70,6 +70,7 @@ selectStringViews(nix::EvalState &State, nix::Value &V, return selectSymbols(State, V, toSymbols(State.symbols, AttrPath)); } +/// TODO: use https://github.com/NixOS/nix/pull/11914 on nix version bump /// \brief Get nix's `builtins` constant inline nix::Value &getBuiltins(const nix::EvalState &State) { return *State.baseEnv.values[0];