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

(pkgs.grpc.override {
  protobuf = depot.third_party.protobuf;
  stdenv = pkgs.llvmPackages_11.libcxxStdenv;
  abseil-cpp = depot.third_party.abseil_cpp;
}).overrideAttrs(orig: rec {
  cmakeFlags = orig.cmakeFlags ++ [
    "-DCMAKE_CXX_STANDARD=17"
    "-DCMAKE_CXX_STANDARD_REQUIRED=ON"
  ];
}) // {
  # TODO(b/132): Reenable when linker errors are fixed.
  meta.ci = false;
}