Skip to content

Commit

Permalink
add todo for getBuiltins
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Nov 23, 2024
1 parent 59f6dce commit 24792c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libnixt/include/nixt/Value.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 24792c1

Please sign in to comment.