mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 13:15:30 +03:00
rdkafka: Build with openssl support.
This commit is contained in:
parent
12ce0db1bf
commit
e821f40c26
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, zlib, perl, pkgconfig, python }:
|
{ stdenv, fetchFromGitHub, zlib, perl, pkgconfig, python, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rdkafka-${version}";
|
name = "rdkafka-${version}";
|
||||||
|
@ -12,12 +12,10 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ zlib perl python ];
|
buildInputs = [ zlib perl python openssl ];
|
||||||
|
|
||||||
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 .
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue