about summary refs log tree commit diff
path: root/fun/uggc
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-12T13·51+0200
committerclbot <clbot@tvl.fyi>2024-01-12T20·38+0000
commitce66af09a7feeded419f9a12baed6f0ae2ac3f60 (patch)
treec87fd1312f84de9f8bb46e885c3d4f401d3def34 /fun/uggc
parent639ee1910180d8e69787b85d6ab0034ede7e2a07 (diff)
fix(tvix/glue/tvix_build): fn_input_drvs_to_output_nodes r/7373
The Derivation input_derivations field contains a list of input
derivations and (a subset of their) output names.

This means, multiple nodes can be returned, so return a Vec.

Also, update the name to better reflect the nodes are the nodes of the
selected outputs, not a node representing the .drv file itself.

Additionally, use a proto::node::Node (the naked enum), rather than
proto::Node, which wraps this in an optional struct field until
realizing the BuildRequest.

Change-Id: Iec5620b5d7ac0462f2c76acac4abcaeea2de0aad
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10608
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'fun/uggc')
0 files changed, 0 insertions, 0 deletions