mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
grpc: fix build input propagation
This commit is contained in:
parent
7d804ec169
commit
cf6f9748b7
2 changed files with 4 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
, speechdSupport ? false, speechd
|
||||
, pulseSupport ? false, libpulseaudio
|
||||
, iceSupport ? false, zeroc-ice
|
||||
, grpcSupport ? false, grpc, c-ares, abseil-cpp, which
|
||||
, grpcSupport ? false, grpc, which
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
|
@ -115,7 +115,7 @@ let
|
|||
|
||||
buildInputs = [ libcap ]
|
||||
++ lib.optional iceSupport zeroc-ice
|
||||
++ lib.optionals grpcSupport [ grpc c-ares abseil-cpp which ];
|
||||
++ lib.optionals grpcSupport [ grpc which ];
|
||||
|
||||
installPhase = ''
|
||||
# bin stuff
|
||||
|
|
|
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ zlib c-ares c-ares.cmake-config re2 openssl protobuf gflags ]
|
||||
propagatedBuildInputs = [ c-ares re2 zlib ];
|
||||
buildInputs = [ c-ares.cmake-config openssl protobuf gflags ]
|
||||
++ lib.optionals stdenv.isLinux [ libnsl ];
|
||||
|
||||
cmakeFlags =
|
||||
|
|
Loading…
Reference in a new issue