From 3570093d39a8a4cbb81394daab3416a07809cbc0 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 6 Oct 2025 15:05:51 +0200 Subject: [PATCH] haskell.packages.ghc9{4,6}.toml-reader: disable unsupported tests skeletest only supports >= 9.6 for 0.1.0 and 9.4 not at all. Doesn't seem worth it trying to get it to work for this. --- pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix | 3 +++ pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix index 7673e54c2e74..a22017cbca7f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix @@ -98,6 +98,9 @@ self: super: { # 2022-08-01: Tests are broken on ghc 9.2.4: https://github.com/wz1000/HieDb/issues/46 hiedb = dontCheck super.hiedb; + # Tests require skeletest which doesn't support GHC 9.4 + toml-reader = dontCheck super.toml-reader; + # 2022-10-06: https://gitlab.haskell.org/ghc/ghc/-/issues/22260 ghc-check = dontHaddock super.ghc-check; diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix index 351f10d84bae..1d6277624b85 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix @@ -148,6 +148,9 @@ in # Tests require nothunks < 0.3 (conflicting with Stackage) for GHC < 9.8 aeson = dontCheck super.aeson; + # Tests require skeletest which no longer supports GHC 9.6 + toml-reader = dontCheck super.toml-reader; + # Apply patch from PR with mtl-2.3 fix. ConfigFile = overrideCabal (drv: { editedCabalFile = null;