about summary refs log tree commit diff
path: root/tvix/build
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-15T12·25+0200
committerclbot <clbot@tvl.fyi>2024-01-15T18·25+0000
commit9fd15ba506c86cd4c1d84aa43d5f3767e02761db (patch)
tree4f629f817c532de99872ab06fba639e0a4227153 /tvix/build
parent83291ff51ec85b89bb8aae2c0a260e00ebde7164 (diff)
refactor(tvix/glue): have derivation_to_build_request consume inputs r/7382
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
Diffstat (limited to 'tvix/build')
0 files changed, 0 insertions, 0 deletions