tvl-depot/third_party/grpc/default.nix

14 lines
338 B
Nix
Raw Normal View History

{ 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"
];
})