aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/grpc
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-08-21 14:39:49 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2020-09-12 23:04:49 +0200
commit0079133e4248a855f6247854220e385ef62cd3be (patch)
tree8af3a8537e6cd113f8281c8b3717be23722d130b /pkgs/development/libraries/grpc
parent1ceec4a7dc7ffb0e516c36ebc7857b8483d0f8ab (diff)
grpc: fix build w/glibc-2.32
Diffstat (limited to 'pkgs/development/libraries/grpc')
-rw-r--r--pkgs/development/libraries/grpc/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/grpc/default.nix b/pkgs/development/libraries/grpc/default.nix
index b5d4db8b4198..e7d1aa4bf92b 100644
--- a/pkgs/development/libraries/grpc/default.nix
+++ b/pkgs/development/libraries/grpc/default.nix
@@ -1,4 +1,6 @@
-{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags, abseil-cpp }:
+{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkgconfig, openssl, protobuf
+, gflags, abseil-cpp, libnsl
+}:
stdenv.mkDerivation rec {
version = "1.32.0"; # N.B: if you change this, change pythonPackages.grpcio-tools to a matching version too
@@ -19,7 +21,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ cmake pkgconfig ];
- buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags abseil-cpp ];
+ buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags abseil-cpp libnsl ];
cmakeFlags =
[ "-DgRPC_ZLIB_PROVIDER=package"