Merge pull request #25839 from czyzykowski/rdkafka-on-osx

rdkafka: fixes darwin build
This commit is contained in:
Daiderd Jordan 2017-05-17 00:13:21 +02:00 committed by GitHub
commit ea229a26a3

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow"; NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
configureFlags = stdenv.lib.optionals stdenv.isDarwin [ "--disable-ssl" ];
postPatch = '' postPatch = ''
patchShebangs . patchShebangs .
''; '';
@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
description = "librdkafka - Apache Kafka C/C++ client library"; description = "librdkafka - Apache Kafka C/C++ client library";
homepage = "https://github.com/edenhill/librdkafka"; homepage = "https://github.com/edenhill/librdkafka";
license = licenses.bsd2; license = licenses.bsd2;
platforms = platforms.linux; platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ boothead wkennington ]; maintainers = with maintainers; [ boothead wkennington ];
}; };
} }