Fix hw-kafka-client haskell package

This commit is contained in:
Ben Ford 2017-09-08 12:31:02 +01:00
parent c3a0c3c9f1
commit 3205d164c6

View File

@ -105,6 +105,11 @@ self: super: builtins.intersectAttrs super {
configureFlags = "--extra-include-dirs=${pkgs.rdkafka}/include/librdkafka";
});
hw-kafka-client = overrideCabal super.hw-kafka-client (drv: {
preConfigure = "sed -i -e /extra-lib-dirs/d -e /include-dirs/d -e /librdkafka/d hw-kafka-client.cabal";
configureFlags = "--extra-include-dirs=${pkgs.rdkafka}/include/librdkafka";
});
# Foreign dependency name clashes with another Haskell package.
libarchive-conduit = super.libarchive-conduit.override { archive = pkgs.libarchive; };