Merge pull request #29109 from boothead/hw-kafka-client

Fix hw-kafka-client haskell package
This commit is contained in:
Peter Simons 2017-09-08 15:58:26 +02:00 committed by GitHub
commit 9e56f1a6b8

View File

@ -105,6 +105,12 @@ self: super: builtins.intersectAttrs super {
configureFlags = "--extra-include-dirs=${pkgs.rdkafka}/include/librdkafka";
});
# library has hard coded directories that need to be removed. Reported upstream here https://github.com/haskell-works/hw-kafka-client/issues/32
hw-kafka-client = dontCheck (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; };