tvl-depot/tvix/glue
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
..
benches feat(tvix/glue): contextful derivation 2024-01-03 23:23:33 +00:00
src refactor(tvix/glue): have derivation_to_build_request consume inputs 2024-01-15 18:25:19 +00:00
Cargo.toml feat(tvix/glue/derivationStrict): support __structuredAttrs 2024-01-12 22:25:35 +00:00
default.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00