about summary refs log tree commit diff
path: root/third_party/grpc/default.nix
blob: 84411369299be248692a3dca0f980f5c2c4b9cca (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_11.libcxxStdenv;
  abseil-cpp = depot.third_party.abseil_cpp;
}).overrideAttrs(orig: rec {
  cmakeFlags = orig.cmakeFlags ++ [
    "-DCMAKE_CXX_STANDARD=17"
    "-DCMAKE_CXX_STANDARD_REQUIRED=ON"
  ];
})