mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #25839 from czyzykowski/rdkafka-on-osx
rdkafka: fixes darwin build
This commit is contained in:
commit
ea229a26a3
1 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
|
||||
|
||||
configureFlags = stdenv.lib.optionals stdenv.isDarwin [ "--disable-ssl" ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
description = "librdkafka - Apache Kafka C/C++ client library";
|
||||
homepage = "https://github.com/edenhill/librdkafka";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ boothead wkennington ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue