haskellPackages: drop packages only used for removed GHC versions

This commit is contained in:
Emily
2025-10-15 23:33:14 +01:00
parent 3419bd7fd0
commit ff54571c01
2 changed files with 3 additions and 184 deletions
@@ -54,7 +54,6 @@ extra-packages:
- Cabal == 3.14.*
- Cabal == 3.16.* # version required for cabal-install and other packages
- cabal-add == 0.1 # 2025-09-09: Only needed for hls 2.11 can be removed once we are past it.
- Cabal-syntax == 3.6.* # Dummy package that ensures packages depending on Cabal-syntax can work for Cabal < 3.8
- Cabal-syntax == 3.8.* # version required for ormolu and fourmolu on ghc 9.0
- Cabal-syntax == 3.10.*
- Cabal-syntax == 3.12.*
@@ -65,20 +64,19 @@ extra-packages:
- fourmolu == 0.15.0.0 # 2025-09-21: for ghc-lib-parser 9.8 compat
- fuzzyset == 0.2.4 # 2023-12-20: Needed for building postgrest > 10
- ghc-exactprint == 0.6.* # 2022-12-12: needed for GHC < 9.2
- ghc-exactprint == 1.5.* # 2023-03-30: needed for GHC == 9.2
- ghc-exactprint == 1.6.* # 2023-03-30: needed for GHC == 9.4
- ghc-exactprint == 1.7.* # 2025-03-09: needed for GHC == 9.6
- ghc-exactprint == 1.8.* # 2024-05-20: needed for GHC == 9.8
- ghc-exactprint == 1.9.* # 2024-08-27: needed for GHC == 9.10
- ghc-exactprint == 1.12.* # 2025-10-15: needed for GHC == 9.12
- ghc-lib == 9.2.* # 2022-02-17: preserve for GHC 9.0
- ghc-lib == 9.6.* # 2022-02-17: preserve for GHC 9.2, 9.4
- ghc-lib == 9.6.* # 2022-02-17: preserve for GHC 9.4
- ghc-lib == 9.10.* # 2024-12-30: preserve for GHC 9.10/ghc-tags 1.9
- ghc-lib-parser == 9.2.* # 2022-02-17: preserve for GHC 9.0
- ghc-lib-parser == 9.6.* # 2024-05-19: preserve for GHC 9.2, 9.4
- ghc-lib-parser == 9.6.* # 2024-05-19: preserve for GHC 9.4
- ghc-lib-parser == 9.8.* # 2024-12-26: preserve for GHC 9.6, 9.8
- ghc-lib-parser-ex == 9.2.* # 2022-07-13: preserve for GHC 9.0
- ghc-lib-parser-ex == 9.6.* # 2024-05-19: preserve for GHC 9.2, 9.4
- ghc-lib-parser-ex == 9.6.* # 2024-05-19: preserve for GHC 9.4
- ghc-lib-parser-ex == 9.8.* # 2024-12-26: preserve for GHC 9.6, 9.8
- ghc-tags == 1.5.* # 2023-02-18: preserve for ghc-lib == 9.2.*
- ghc-tags == 1.7.* # 2023-02-18: preserve for ghc-lib == 9.6.*
@@ -104,7 +102,6 @@ extra-packages:
- os-string == 1.* # 2025-07-30: dummy package we need for pre os-string GHCs
- path == 0.9.5 # 2025-09-21: Pin for hls on ghc 9.4
- postgresql-binary < 0.14 # 2025-01-19: Needed for building postgrest
- primitive-unlifted == 0.1.3.1 # 2024-03-16: preserve for ghc 9.2
- retrie < 1.2.0.0 # 2022-12-30: preserve for ghc < 9.2
- shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
- ShellCheck == 0.9.0 # 2024-03-21: pinned by haskell-ci
@@ -119,7 +116,6 @@ extra-packages:
- text-builder-dev < 0.4 # 2025-08-27: Needed for building postgrest
- text-metrics < 0.3.3 # 2025-02-08: >= 0.3.3 uses GHC2021
- weeder == 2.3.* # 2022-05-31: preserve for GHC 9.0.2
- weeder == 2.4.* # 2023-02-02: preserve for GHC 9.2.*
# keep-sorted end
# keep-sorted start skip_lines=1 case=no
-177
View File
@@ -6080,20 +6080,6 @@ self: {
}
) { };
Cabal-syntax_3_6_0_0 = callPackage (
{ mkDerivation, Cabal }:
mkDerivation {
pname = "Cabal-syntax";
version = "3.6.0.0";
sha256 = "0lcj4g55sj5iv727g7k57pscgyj0fx3smwapm1gmd5qkc3yfa9fa";
libraryHaskellDepends = [ Cabal ];
doHaddock = false;
description = "A library for working with .cabal files";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}
) { };
Cabal-syntax_3_8_1_0 = callPackage (
{
mkDerivation,
@@ -258217,77 +258203,6 @@ self: {
}
) { };
ghc-exactprint_1_5_0 = callPackage (
{
mkDerivation,
base,
bytestring,
containers,
data-default,
Diff,
directory,
fail,
filemanip,
filepath,
free,
ghc,
ghc-boot,
ghc-paths,
HUnit,
mtl,
ordered-containers,
silently,
syb,
}:
mkDerivation {
pname = "ghc-exactprint";
version = "1.5.0";
sha256 = "07m4cg47knrrvpyimnbc0nq9176vkzwwa64b2iqfj6azn6q2hagp";
revision = "1";
editedCabalFile = "1v6my8bnhjhw7k3v2q9iwjpz9lj5g6ilvlzdq6svcabxahmzbr2c";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base
bytestring
containers
data-default
directory
fail
filepath
free
ghc
ghc-boot
ghc-paths
mtl
ordered-containers
syb
];
testHaskellDepends = [
base
bytestring
containers
data-default
Diff
directory
fail
filemanip
filepath
ghc
ghc-boot
ghc-paths
HUnit
mtl
ordered-containers
silently
syb
];
description = "ExactPrint for GHC";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}
) { };
ghc-exactprint_1_6_1_3 = callPackage (
{
mkDerivation,
@@ -540194,38 +540109,6 @@ self: {
}
) { };
primitive-unlifted_0_1_3_1 = callPackage (
{
mkDerivation,
base,
bytestring,
primitive,
stm,
text-short,
}:
mkDerivation {
pname = "primitive-unlifted";
version = "0.1.3.1";
sha256 = "1gilzgclpvz200sybw86nmdm7084nrklscq48cs36qqlgcd0wcwb";
revision = "1";
editedCabalFile = "0y3zdwbs1fdzspj1k95jyjrhm7za38gb6ada031bp02ifxbvsvsf";
libraryHaskellDepends = [
base
bytestring
primitive
text-short
];
testHaskellDepends = [
base
primitive
stm
];
description = "Primitive GHC types with unlifted types inside";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}
) { };
primitive-unlifted = callPackage (
{
mkDerivation,
@@ -723697,66 +723580,6 @@ self: {
}
) { };
weeder_2_4_1 = callPackage (
{
mkDerivation,
algebraic-graphs,
base,
bytestring,
containers,
dhall,
directory,
filepath,
generic-lens,
ghc,
lens,
mtl,
optparse-applicative,
regex-tdfa,
text,
transformers,
}:
mkDerivation {
pname = "weeder";
version = "2.4.1";
sha256 = "1z17w8q0s1pgqrxx7f1zijy1j4fwl8x2f5r9y11i0vcsqlx12pi9";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
algebraic-graphs
base
bytestring
containers
dhall
directory
filepath
generic-lens
ghc
lens
mtl
optparse-applicative
regex-tdfa
text
transformers
];
executableHaskellDepends = [
base
bytestring
containers
directory
filepath
ghc
optparse-applicative
transformers
];
description = "Detect dead code";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
mainProgram = "weeder";
maintainers = [ lib.maintainers.maralorn ];
}
) { };
weeder = callPackage (
{
mkDerivation,