From 64de900dc84259780f7307168bbe46603b068b35 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 21 Aug 2020 16:48:15 +0200 Subject: [PATCH] haskell-hspec-core: needs latest QuickCheck to compile tests some more --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 6c9855eaef9..54c4e7c5465 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1436,10 +1436,10 @@ self: super: { doCheck = false; }); - # tests rely on `Int` being 64-bit: https://github.com/hspec/hspec/issues/431 - hspec-core = let hspec-core = super.hspec-core.overrideScope (self: super: { QuickCheck = self.QuickCheck_2_14_1; }); in - if pkgs.stdenv.isi686 then dontCheck hspec-core else hspec-core; - QuickCheck_2_14_1 = super.QuickCheck_2_14_1.override { splitmix = dontCheck super.splitmix_0_1_0_1; }; + # Tests rely on `Int` being 64-bit: https://github.com/hspec/hspec/issues/431. + # Also, we need QuickCheck-2.14.x to build the test suite, which isn't easy in LTS-16.x. + # So let's not go there any just disable the tests altogether. + hspec-core = dontCheck super.hspec-core; # INSERT NEW OVERRIDES ABOVE THIS LINE