a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
9 lines
339 B
Nix
9 lines
339 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.runCommandNoCC "tvix-cc-proto" { } ''
|
|
mkdir $out
|
|
${pkgs.protobuf}/bin/protoc -I ${./.} evaluator.proto --cpp_out=$out
|
|
''
|