grpc: fix build input propagation
This commit is contained in:
parent
7d804ec169
commit
cf6f9748b7
@ -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 New Issue
Block a user