Fix haskakafka library to use rdkafka

This commit is contained in:
Ben Ford 2015-02-03 08:44:35 +00:00 committed by Peter Simons
parent 1f25998a60
commit 40af5a2b59
3 changed files with 9 additions and 1 deletions

View File

@ -53,6 +53,12 @@ self: super: {
# Won't find it's header files without help.
sfml-audio = appendConfigureFlag super.sfml-audio "--extra-include-dirs=${pkgs.openal}/include/AL";
haskakafka = overrideCabal super.haskakafka (drv: {
preConfigure = "sed -i -e /extra-lib-dirs/d -e /include-dirs/d haskakafka.cabal";
configureFlags = "--extra-include-dirs=${pkgs.rdkafka}/include/librdkafka";
doCheck = false;
});
# Foreign dependency name clashes with another Haskell package.
libarchive-conduit = super.libarchive-conduit.override { archive = pkgs.libarchive; };

View File

@ -54825,7 +54825,7 @@ self: {
description = "Kafka bindings for Haskell";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
}) { rdkafka = null;};
}) { };
"haskanoid" = callPackage
({ mkDerivation, base, freenect, hcwiid, IfElse, MissingH, mtl, SDL

View File

@ -7925,6 +7925,8 @@ let
kafka = callPackage ../servers/kafka { };
rdkafka = callPackage ../development/libraries/rdkafka { };
leafnode = callPackage ../servers/news/leafnode { };
lighttpd = callPackage ../servers/http/lighttpd { };