diff options
Diffstat (limited to 'third_party/grpc/default.nix')
-rw-r--r-- | third_party/grpc/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/grpc/default.nix b/third_party/grpc/default.nix new file mode 100644 index 000000000000..2ef67d402858 --- /dev/null +++ b/third_party/grpc/default.nix @@ -0,0 +1,13 @@ +{ depot, pkgs, ... }: + +(pkgs.grpc.override { + protobuf = depot.third_party.protobuf; + stdenv = pkgs.fullLlvm11Stdenv; + abseil-cpp = depot.third_party.abseil_cpp; + re2 = depot.third_party.re2; +}).overrideAttrs(orig: rec { + cmakeFlags = orig.cmakeFlags ++ [ + "-DCMAKE_CXX_STANDARD_REQUIRED=ON" + "-DCMAKE_CXX_STANDARD=17" + ]; +}) |