about summary refs log tree commit diff
path: root/tvix/proto/default.nix
blob: ac0ee66e87209e3ef6f757b14beaf2e881aca793 (plain) (blame)
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
''