From dd5f27ad1ea279e2c3bd9e5c998de91bb18830dd Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Tue, 2 Mar 2021 20:47:41 +0000 Subject: [PATCH] google-cloud-cpp: add missing dependency --- .../libraries/google-cloud-cpp/default.nix | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/google-cloud-cpp/default.nix b/pkgs/development/libraries/google-cloud-cpp/default.nix index fdf425432817..af4512814026 100644 --- a/pkgs/development/libraries/google-cloud-cpp/default.nix +++ b/pkgs/development/libraries/google-cloud-cpp/default.nix @@ -1,4 +1,20 @@ -{ lib, stdenv, clang-tools, grpc, curl, cmake, pkg-config, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }: +{ lib +, stdenv +, clang-tools +, grpc +, curl +, cmake +, pkg-config +, fetchFromGitHub +, doxygen +, protobuf +, crc32c +, c-ares +, fetchurl +, openssl +, zlib +, libnsl +}: let googleapis = fetchFromGitHub { owner = "googleapis"; @@ -39,7 +55,7 @@ in stdenv.mkDerivation rec { sha256 = "15wci4m8h6py7fqfziq8mp5m6pxp2h1cbh5rp2k90mk5js4jb9pa"; }; - buildInputs = [ curl crc32c c-ares c-ares.cmake-config googleapis-cpp-cmakefiles grpc protobuf ]; + buildInputs = [ curl crc32c c-ares c-ares.cmake-config googleapis-cpp-cmakefiles grpc protobuf libnsl ]; nativeBuildInputs = [ clang-tools cmake pkg-config doxygen ]; outputs = [ "out" "dev" ]; @@ -58,6 +74,5 @@ in stdenv.mkDerivation rec { homepage = "https://github.com/googleapis/google-cloud-cpp"; description = "C++ Idiomatic Clients for Google Cloud Platform services"; maintainers = with maintainers; [ ]; - broken = true; # Broken on Hydra since 2020-05-19 }; }