snix/tvix/glue/src
Florian Klink 9fd15ba506 refactor(tvix/glue): have derivation_to_build_request consume inputs
Determining the inputs might trigger additional builds/substitutions,
so answering these lookups via a lambda in a lazy fashion gets
complicated.

You end up assembling the list of input nodes upfront, and the lambda
will just be a dumb lookup into that preassembled list.

Rather than doing that, simply have derivation_to_build_request leave
the work of determining the inputs to the caller.

Change-Id: I75880132916c76b930807c989090da298b6891bd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10626
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-01-15 18:25:19 +00:00
..
builtins fix(tvix/eval): catchable-aware builtins 2024-01-14 03:37:17 +00:00
tests feat(tvix/build/protos): add some missing fields 2023-12-26 10:20:41 +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(tvix/glue/known_paths): drop some unused stuff 2024-01-15 18:25:19 +00:00
lib.rs docs(tvix/glue): fix docstring 2023-12-21 16:43:11 +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): contextful derivation 2024-01-03 23:23:33 +00:00
tvix_store_io.rs refactor(tvix/glue/tvix_store_io): async store_path_to_node 2024-01-12 20:38:36 +00:00