snix/tvix/glue/src/tests
Ryan Lahfa 7388078630 feat(tvix/eval): implement builtins.filterSource
We add a new set of builtins called `import_builtins`, which
will contain import-related builtins, such as `builtins.path` and
`builtins.filterSource`. Both can import paths into the store, with
various knobs to alter the result, e.g. filtering, renaming, expected
hashes.

We introduce `filtered_ingest` which will drive the filtered ingestion
via the Nix function via the generator machinery, and then we register
the root node to the path info service inside the store.

`builtins.filterSource` is very simple, `builtins.path` is a more
complicated model requiring the same logic albeit more sophisticated
with name customization, file ingestion method and expected SHA-256.

Change-Id: I1083f37808b35f7b37818c8ffb9543d9682b2de2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10654
Autosubmit: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2024-02-20 14:16:36 +00:00
..
nix_tests feat(tvix/glue): introduce test suite for context strings 2024-01-17 17:31:07 +00:00
tvix_tests fix(tvix/glue/tests): resolve logic error in hasContextInAttrKeys 2024-01-22 14:24:51 +00:00
0hm2f1psjpcwg8fijsmr4wwxrx59s092-bar.drv feat(tvix/build/protos): add some missing fields 2023-12-26 10:20:41 +00:00
ch49594n9avinrf8ip0aslidkc4lxkqv-foo.drv feat(tvix/build): add derivation_to_build_request 2023-12-11 22:35:39 +00:00
mod.rs feat(tvix/eval): implement builtins.filterSource 2024-02-20 14:16:36 +00:00
ss2p4wmxijn652haqyd7dckxwl4c7hxx-bar.drv test(tvix/glue/known_paths): add tests 2024-02-17 07:54:05 +00:00