docs(tvix/eval): add a list of builtins added in Nix >= 2.4
`builtins.getFlake` doesn't interest us, of course, but some others may be worth (or easy) to implement. They are pretty low priority, though, since nixpkgs has compatiblity wrappers for the ones it uses. The new debugging-related builtins (break and traceVerbose) are interesting to note, but may not make sense to implement at all. Change-Id: Icae547aa3bd9d6ee6b87897ba8210eb9b9b044c7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6332 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
b0d39aa19f
commit
e25972877a
1 changed files with 11 additions and 0 deletions
|
@ -118,3 +118,14 @@ See also https://nixos.org/manual/nix/stable/expressions/builtins.html
|
|||
| unsafeGetAttrPos | false | | |
|
||||
| valueSize | false | | |
|
||||
|
||||
## Added after C++ Nix 2.3 (without Flakes enabled)
|
||||
|
||||
| name | global | arity | pure |
|
||||
|---------------|--------|-------|-------|
|
||||
| break | false | 1 | |
|
||||
| ceil | false | 1 | true |
|
||||
| fetchTree | true | 1 | |
|
||||
| floor | false | 1 | true |
|
||||
| groupBy | false | 2 | true |
|
||||
| traceVerbose | false | 2 | |
|
||||
| zipAttrsWith | false | 2 | true |
|
||||
|
|
Loading…
Reference in a new issue