tvl-depot/tvix/build-go
Florian Klink e6782bb7c4 feat(tvix/build/protos): add additional_files field
Nix builds also have some other inputs, outside of inputs_dir, used in
derivations setting `passAsFile` and `__structuredAttrs`.

This extends our `BuildRequest` structure to accomodate these usecases.

Change-Id: I8de6516eb467fa48a4961d88933ebd548f131049
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10519
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
2024-01-03 13:18:31 +00:00
..
build.pb.go feat(tvix/build/protos): add additional_files field 2024-01-03 13:18:31 +00:00
default.nix feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
go.mod feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
go.sum feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
LICENSE feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
README.md feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
rpc_build.pb.go feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
rpc_build_grpc.pb.go feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00

build-go

This directory contains generated golang bindings, both for the tvix-build data models, as well as the gRPC bindings.

They are generated with mg run //tvix/build-go:regenerate. These files end with .pb.go, and are ensured to be up to date by a CI check.

Additionally, code useful when interacting with these data structures (ending just with .go) is provided.