about summary refs log tree commit diff
path: root/third_party/grpc/default.nix
blob: 2ef67d4028588f85f52fe191c49cf1ed846382f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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"
  ];
})