about summary refs log tree commit diff
path: root/third_party/grpc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/grpc')
-rw-r--r--third_party/grpc/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/grpc/default.nix b/third_party/grpc/default.nix
new file mode 100644
index 000000000000..f76467dbd651
--- /dev/null
+++ b/third_party/grpc/default.nix
@@ -0,0 +1,14 @@
+{ pkgs, ... }:
+
+(pkgs.originals.grpc.override {
+  protobuf = pkgs.protobuf;
+  stdenv = pkgs.llvmPackages.libcxxStdenv;
+}).overrideAttrs(orig: {
+  buildInputs = orig.buildInputs ++ [
+    pkgs.abseil_cpp
+  ];
+
+  cmakeFlags = orig.cmakeFlags ++ [
+    "-DgRPC_ABSL_PROVIDER=package"
+  ];
+})