Files
nixpkgs/pkgs/development/haskell-modules/configuration-ghc-9.10.x.nix
sternenseemann 087f4901a8 haskellPackages.ghc-typelits-natnormalise: restrict to < 0.8
This seems the best course of action: We are still only performing a
non-breaking update compared to Stackage LTS (which will fix a few
builds) while being able to execute the test suite.

haskellPackages.ghc-tcplugins-extra: 0.4.8 -> 0.5

ghc-typelits-natnormalise requires >= 0.5 since 0.7.11. It does not
look like the 0.5 update actually contains a breaking changes, so
this update is probably safe:

https://github.com/clash-lang/ghc-tcplugins-extra/pull/29#issuecomment-3299008674
https://github.com/clash-lang/ghc-tcplugins-extra/compare/702dda2095c66c4f5148a749c8b7dbcc8a09f5c...v0.5.0
2025-09-19 12:13:21 +02:00

95 lines
2.2 KiB
Nix

{ pkgs, haskellLib }:
self: super:
with haskellLib;
let
inherit (pkgs) lib;
warnAfterVersion =
ver: pkg:
lib.warnIf (lib.versionOlder ver
super.${pkg.pname}.version
) "override for haskell.packages.ghc910.${pkg.pname} may no longer be needed" pkg;
in
{
# Disable GHC core libraries
array = null;
base = null;
binary = null;
bytestring = null;
Cabal = null;
Cabal-syntax = null;
containers = null;
deepseq = null;
directory = null;
exceptions = null;
filepath = null;
ghc-bignum = null;
ghc-boot = null;
ghc-boot-th = null;
ghc-compact = null;
ghc-experimental = null;
ghc-heap = null;
ghc-internal = null;
ghc-platform = null;
ghc-prim = null;
ghc-toolchain = null;
ghci = null;
haskeline = null;
hpc = null;
integer-gmp = null;
mtl = null;
os-string = null;
parsec = null;
pretty = null;
process = null;
rts = null;
semaphore-compat = null;
stm = null;
system-cxx-std-lib = null;
template-haskell = null;
# GHC only builds terminfo if it is a native compiler
terminfo =
if pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform then
null
else
doDistribute self.terminfo_0_4_1_7;
text = null;
time = null;
transformers = null;
unix = null;
xhtml = null;
# “Unfortunately we are unable to support GHC 9.10.”
apply-refact = dontDistribute (markBroken super.apply-refact);
#
# Version upgrades
#
# Upgrade to accommodate new core library versions, where the authors have
# already made the relevant changes.
#
# Jailbreaks
#
floskell = doJailbreak super.floskell; # base <4.20
# 2025-04-09: filepath <1.5
haddock-library =
assert super.haddock-library.version == "1.11.0";
doJailbreak super.haddock-library;
tree-sitter = doJailbreak super.tree-sitter; # containers <0.7, filepath <1.5
#
# Test suite issues
#
call-stack = dontCheck super.call-stack; # https://github.com/sol/call-stack/issues/19
fsnotify = dontCheck super.fsnotify; # https://github.com/haskell-fswatch/hfsnotify/issues/115
hinotify = pkgs.haskell.lib.dontCheck super.hinotify; # https://github.com/kolmodin/hinotify/issues/38
monad-dijkstra = dontCheck super.monad-dijkstra; # needs hlint 3.10
}