haskellPackages.call-stack: fix tests with GHC>=9.10 (#473414)

This commit is contained in:
Wolfgang Walther
2025-12-26 11:32:37 +00:00
committed by GitHub
3 changed files with 10 additions and 3 deletions
@@ -646,6 +646,16 @@ with haskellLib;
# https://github.com/awakesecurity/nix-deploy/issues/35
nix-deploy = doJailbreak super.nix-deploy;
call-stack = appendPatches [
# Fixes test suites with GHC >= 9.10
(pkgs.fetchpatch {
name = "call-stack-tests-normalize-pkg-name.patch";
url = "https://github.com/sol/call-stack/commit/cbbee23ce309d18201951e16a8b6d30b57e2bdf9.patch";
sha256 = "sha256-xkdjf8zXW+UMxot2Z8WYYmvAJsT+VGKXWGt19mZZwCg=";
includes = [ "test/Data/CallStackSpec.hs" ];
})
] super.call-stack;
# Too strict upper bound on algebraic-graphs
# https://github.com/awakesecurity/nix-graph/issues/5
nix-graph = doJailbreak super.nix-graph;
@@ -88,7 +88,6 @@ in
#
# Test suite issues
#
call-stack = dontCheck super.call-stack; # https://github.com/sol/call-stack/issues/19
monad-dijkstra = dontCheck super.monad-dijkstra; # needs hlint 3.10
# Workaround https://github.com/haskell/haskell-language-server/issues/4674
@@ -106,8 +106,6 @@ with haskellLib;
# Test suite issues
#
call-stack = dontCheck super.call-stack; # https://github.com/sol/call-stack/issues/19
relude = dontCheck super.relude;
# https://gitlab.haskell.org/ghc/ghc/-/issues/25930