about summary refs log blame commit diff
path: root/tvix/proto/default.nix
blob: 7ff03ba3b74f05809772ae48fe899e6b0816926e (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                      
# 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
''