From 64ce0e316cdf4218545db87e0cb2138524f46edd Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 27 Dec 2024 13:06:22 +0100 Subject: [PATCH] haskell.packages.ghc9121.call-stack: disable test suite The test suite expects the behavior of Cabal < 3.12 and it seems permissible to ignore it. Stackage also ignores this test suite (though due to a dependency cycle, it seems). --- pkgs/development/haskell-modules/configuration-ghc-9.10.x.nix | 2 +- pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.10.x.nix index 85dca224f715..ef8f64cfaae7 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.10.x.nix @@ -122,7 +122,7 @@ self: super: { # # Test suite issues # - call-stack = dontCheck super.call-stack; # expects the package to be named "main", but we generate a name + call-stack = dontCheck super.call-stack; # https://github.com/sol/call-stack/issues/19 lifted-base = dontCheck super.lifted-base; # doesn't compile with transformers ==0.6.* lukko_0_1_2 = dontCheck super.lukko_0_1_2; # doesn't compile with tasty ==1.4.* resolv = dontCheck super.resolv; # doesn't compile with filepath ==1.5.* diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix index fee1be690cc5..0002e9305eaa 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix @@ -61,4 +61,7 @@ self: super: { primitive = doDistribute self.primitive_0_9_0_0; splitmix = doDistribute self.splitmix_0_1_1; tagged = doDistribute self.tagged_0_8_9; + + # Test suite issues + call-stack = dontCheck super.call-stack; # https://github.com/sol/call-stack/issues/19 }