grpc: fix build input propagation
This commit is contained in:
parent
7d804ec169
commit
cf6f9748b7
@ -6,7 +6,7 @@
|
|||||||
, speechdSupport ? false, speechd
|
, speechdSupport ? false, speechd
|
||||||
, pulseSupport ? false, libpulseaudio
|
, pulseSupport ? false, libpulseaudio
|
||||||
, iceSupport ? false, zeroc-ice
|
, iceSupport ? false, zeroc-ice
|
||||||
, grpcSupport ? false, grpc, c-ares, abseil-cpp, which
|
, grpcSupport ? false, grpc, which
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ let
|
|||||||
|
|
||||||
buildInputs = [ libcap ]
|
buildInputs = [ libcap ]
|
||||||
++ lib.optional iceSupport zeroc-ice
|
++ lib.optional iceSupport zeroc-ice
|
||||||
++ lib.optionals grpcSupport [ grpc c-ares abseil-cpp which ];
|
++ lib.optionals grpcSupport [ grpc which ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
# bin stuff
|
# bin stuff
|
||||||
|
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
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 ];
|
++ lib.optionals stdenv.isLinux [ libnsl ];
|
||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user