ff5e041fdb
This moves the castore.proto file into the //tvix/store/protos directory. Per- component protos might make more sense, than a "tvix-wide" proto directory. Change-Id: Ie728210174b041e9285a0e2ac605d715d0f0cbda Reviewed-on: https://cl.tvl.fyi/c/depot/+/7285 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
9 lines
335 B
Nix
9 lines
335 B
Nix
# Build protocol buffer definitions to ensure that protos are valid in
|
|
# CI. Note that the output of this build target is not actually used
|
|
# anywhere, it just functions as a CI check for now.
|
|
{ pkgs, ... }:
|
|
|
|
pkgs.runCommand "tvix-cc-proto" { } ''
|
|
mkdir $out
|
|
${pkgs.protobuf}/bin/protoc -I ${./.} evaluator.proto --cpp_out=$out
|
|
''
|