feat(3p/grpc): Build gRPC using LLVM10 & libcxx

This commit is contained in:
Vincent Ambo 2020-06-07 17:14:48 +01:00
parent 4fb8788c01
commit 430e602336
2 changed files with 15 additions and 2 deletions

View file

@ -65,7 +65,6 @@ let
go
google-cloud-sdk
graphviz
grpc
gzip
haskell
iana-etc
@ -163,7 +162,7 @@ in exposed.lib.fix(self: exposed // {
# Packages to be overridden
originals = {
inherit (nixpkgs) notmuch;
inherit (nixpkgs) grpc notmuch;
inherit (stableNixpkgs) git;
ffmpeg = nixpkgs.ffmpeg-full;
};

14
third_party/grpc/default.nix vendored Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, ... }:
(pkgs.originals.grpc.override {
protobuf = pkgs.protobuf;
stdenv = pkgs.llvmPackages.libcxxStdenv;
}).overrideAttrs(orig: {
buildInputs = orig.buildInputs ++ [
pkgs.abseil_cpp
];
cmakeFlags = orig.cmakeFlags ++ [
"-DgRPC_ABSL_PROVIDER=package"
];
})