diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md index 0e0d44114971..7da9580e2045 100644 --- a/doc/languages-frameworks/haskell.section.md +++ b/doc/languages-frameworks/haskell.section.md @@ -161,6 +161,27 @@ completely incompatible with packages from `haskellPackages`. +### GHC Deprecation Policy {#ghc-deprecation-policy} + +We remove GHC versions according to the following policy: + +#### Major GHC versions {#major-ghc-deprecation} + +We keep the following GHC major versions: +1. The current Stackage LTS as the default and all later major versions. +2. The two latest major versions older than our default. +3. The currently recommended GHCup version and all later major versions. + +Older GHC versions might be kept longer, if there are in-tree consumers. We will coordinate with the maintainers of those dependencies to find a way forward. + +#### Minor GHC versions {#minor-ghc-deprecation} + +Every major version has a default minor version. The default minor version will be updated as soon as viable without breakage. + +Older minor versions for a supported major version will only be kept, if they are the last supported version of a major Stackage LTS release. + + + ## `haskellPackages.mkDerivation` {#haskell-mkderivation} Every haskell package set has its own haskell-aware `mkDerivation` which is used diff --git a/doc/redirects.json b/doc/redirects.json index e734551c133f..69898bcf52ca 100644 --- a/doc/redirects.json +++ b/doc/redirects.json @@ -37,9 +37,18 @@ "ex-testEqualArrayOrMap-test-function-add-cowbell": [ "index.html#ex-testEqualArrayOrMap-test-function-add-cowbell" ], + "ghc-deprecation-policy": [ + "index.html#ghc-deprecation-policy" + ], "inkscape-plugins": [ "index.html#inkscape-plugins" ], + "major-ghc-deprecation": [ + "index.html#major-ghc-deprecation" + ], + "minor-ghc-deprecation": [ + "index.html#minor-ghc-deprecation" + ], "neovim": [ "index.html#neovim" ],