about summary refs log tree commit diff
path: root/third_party/grpc/default.nix
blob: f8fd1ac8963924d0877f8508e2deaf075c3a45c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ depot, pkgs, ... }:

(pkgs.grpc.override {
  protobuf = depot.third_party.protobuf;
  stdenv = pkgs.llvmPackages.libcxxStdenv;
  abseil-cpp = depot.third_party.abseil_cpp;
}).overrideAttrs(orig: rec {
  cmakeFlags = orig.cmakeFlags ++ [
    "-DCMAKE_CXX_STANDARD=17"
    "-DCMAKE_CXX_STANDARD_REQUIRED=ON"
  ];
})