2022-05-19 14:39:52 +00:00
|
|
|
# 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, ... }:
|
|
|
|
|
2022-10-02 21:23:44 +00:00
|
|
|
pkgs.runCommand "tvix-cc-proto" { } ''
|
2022-05-19 14:39:52 +00:00
|
|
|
mkdir $out
|
|
|
|
${pkgs.protobuf}/bin/protoc -I ${./.} evaluator.proto --cpp_out=$out
|
|
|
|
''
|