From a759faf60bdc578ea4723f2512be5fd24811f6cb Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Sun, 10 Sep 2017 11:56:48 +0200 Subject: [PATCH] haskell: fix build of hw-xml --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 48b3108d0ed0..da027a5e0597 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -95,6 +95,14 @@ self: super: { # https://github.com/froozen/kademlia/issues/2 kademlia = dontCheck super.kademlia; + # https://github.com/haskell-works/hw-xml/issues/23 + # Disable building the hw-xml-example executable: + hw-xml = (overrideCabal super.hw-xml (drv: { + postPatch = "sed -i 's/ hs-source-dirs: app/" + + " hs-source-dirs: app\\n" + + " buildable: false/' hw-xml.cabal"; + })); + hzk = dontCheck super.hzk; haskakafka = dontCheck super.haskakafka;