Merge pull request #116317 from mohe2015/mumble

grpc: fix build input propagation
This commit is contained in:
Mario Rodas 2021-03-15 20:58:10 -05:00 committed by GitHub
commit 269236f5f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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 =