snix/tvix/glue/src
Ryan Lahfa 12ae96cff2 feat(tvix/glue): use TvixStoreIO as derivation builtin state
We propagate a `TvixStoreIO` as the `state` of our derivation-specific
builtins in the glue crate.

The evaluators `io_handle` itself is using a Rc<dyn EvalIO>.

An earlier version of TvixStoreIO was also introducing generics over the
different internal services themselves, but we opted for instead
hardcoding this to Arc<dyn …> for the sake of less macro voodoo.

Change-Id: I535c476f06b840858fa3070c4a237ece47f7a15b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10636
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2024-01-18 14:28:00 +00:00
..
builtins feat(tvix/glue): use TvixStoreIO as derivation builtin state 2024-01-18 14:28:00 +00:00
tests feat(tvix/glue): use TvixStoreIO as derivation builtin state 2024-01-18 14:28:00 +00:00
.skip-subtree refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
fetchurl.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
known_paths.rs refactor(nix-compat): use StorePathRef for hash derivation modulo 2024-01-16 08:37:07 +00:00
lib.rs refactor(tvix/eval): generalize EvalIO container 2024-01-18 09:09:15 +00:00
refscan.rs refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
tvix_build.rs refactor(tvix/glue): have derivation_to_build_request consume inputs 2024-01-15 18:25:19 +00:00
tvix_io.rs feat(tvix/glue): use TvixStoreIO as derivation builtin state 2024-01-18 14:28:00 +00:00
tvix_store_io.rs feat(tvix/glue): use TvixStoreIO as derivation builtin state 2024-01-18 14:28:00 +00:00