haskell-hspec-core: needs latest QuickCheck to compile tests

wip/yesman
Peter Simons 4 years ago
parent 7682995e84
commit cebfd6929a
  1. 6
      pkgs/development/haskell-modules/configuration-common.nix

@ -296,7 +296,6 @@ self: super: {
hs2048 = dontCheck super.hs2048;
hsbencher = dontCheck super.hsbencher;
hsexif = dontCheck super.hsexif;
hspec-core = if pkgs.stdenv.isi686 then dontCheck super.hspec-core else super.hspec-core; # tests rely on `Int` being 64-bit; https://github.com/hspec/hspec/issues/431
hspec-server = dontCheck super.hspec-server;
HTF = dontCheck super.HTF;
htsn = dontCheck super.htsn;
@ -1437,6 +1436,11 @@ 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; };
# INSERT NEW OVERRIDES ABOVE THIS LINE
} // (let

Loading…
Cancel
Save