about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-okay-patterns.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-11-20T18·35+0100
committertazjin <tazjin@tvl.su>2022-11-21T14·14+0000
commitae30def0552e033a8f92e7094789cec1d0e940fe (patch)
tree983590cc9f364a515e059eaa7be5fab2b76ed6eb /tvix/eval/src/tests/nix_tests/eval-okay-patterns.nix
parent888b7faa18ce0836bbe2938003543543c4a1fb64 (diff)
feat(tvix/eval): Implement builtins.genericClosure r/5295
This implementation closely follows the original implementation in
Nix, including the use of an equality-based "set" structure to track
keys that have already been processed.

Note that this test does not yet enable the `notyetpassing` test for
builtins.genericClosure because (for as of yet unknown reasons) this
test compares against XML output (however, evaluating the test case
actually does work).

This takes us one step closer to nixpkgs eval.

This commit was written somewhere in the North Sea.

Co-Authored-By: Griffin Smith <root@gws.fyi>
Change-Id: I450a866e6f2888b27c2fe7c7f77ce0f79bfe3e6c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7310
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/eval-okay-patterns.nix')
0 files changed, 0 insertions, 0 deletions