From a3532c957dcd5e75894302a3a4d1170713d8769b Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 26 Oct 2024 01:19:25 +0200 Subject: [PATCH] haskell.packages.ghc983.generic-arbitrary: disable broken test suite Fails to compile due to a newly exposed type in deepseq 1.5.10: . --- .../haskell-modules/configuration-ghc-9.8.x.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix index a34c2210e7dfc..91b24ebf94293 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix @@ -4,7 +4,7 @@ with haskellLib; let inherit (pkgs.stdenv.hostPlatform) isDarwin; - + inherit (pkgs) lib; in self: super: { @@ -147,3 +147,8 @@ self: super: { }) super.reflex; } +// lib.optionalAttrs (lib.versionAtLeast super.ghc.version "9.8.3") { + # Breakage related to GHC 9.8.3 / deepseq 1.5.1.0 + # https://github.com/typeable/generic-arbitrary/issues/18 + generic-arbitrary = dontCheck super.generic-arbitrary; +}