From b0ca52b24c5c5b6319f46598f56ccf22e01f1a86 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 11 Dec 2017 14:33:32 +0100 Subject: [PATCH] haskell-hpack: new versions need latest HUnit to compile their test suite --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 172ce5deacf..95feb3e8e91 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -999,4 +999,10 @@ self: super: { libraryToolDepends = drv.libraryToolDepends or [] ++ [pkgs.postgresql]; testToolDepends = drv.testToolDepends or [] ++ [pkgs.procps]; }); + + # Newer hpack's needs newer HUnit, but we cannot easily override the version + # used in the build, so we take the easy way out and disable the test suite. + hpack_0_20_0 = dontCheck super.hpack_0_20_0; + hpack_0_21_0 = dontCheck super.hpack_0_21_0; + }