haskellPackages: stackage LTS 23.8 -> LTS 23.17 (#396589)

This commit is contained in:
maralorn
2025-04-06 22:51:40 +02:00
committed by GitHub
5 changed files with 291 additions and 7457 deletions
@@ -2675,9 +2675,6 @@ self: super:
# https://github.com/brandonchinn178/tasty-autocollect/issues/54
tasty-autocollect = dontCheck super.tasty-autocollect;
# unbreak with tasty-quickcheck 0.11, can be dropped for Stackage LTS >= 23.9
text-builder = doDistribute self.text-builder_0_6_7_3;
postgres-websockets = lib.pipe super.postgres-websockets [
(addTestToolDepends [
pkgs.postgresql
@@ -2975,6 +2972,27 @@ self: super:
# jailbreak to allow deepseq >= 1.5, https://github.com/jumper149/blucontrol/issues/3
blucontrol = doJailbreak super.blucontrol;
# Stackage LTS 23.17 has 0.1.5, which was marked deprecated as it was broken.
# Can probably be dropped for Stackage LTS >= 23.18
network-control = doDistribute self.network-control_0_1_6;
# Needs to match pandoc, see:
# https://github.com/jgm/pandoc/commit/97b36ecb7703b434ed4325cc128402a9eb32418d
commonmark-pandoc = doDistribute self.commonmark-pandoc_0_2_2_3;
pandoc = lib.pipe super.pandoc [
# Test output changes with newer version of texmath
(appendPatch (fetchpatch {
url = "https://github.com/jgm/pandoc/commit/e2a0cc9ddaf9e7d35cbd3c76f37e39737a79c2bf.patch";
sha256 = "sha256-qA9mfYS/VhWwYbB9yu7wbHwozz3cqequ361PxkbAt08=";
includes = [ "test/*" ];
}))
(appendPatch (fetchpatch {
url = "https://github.com/jgm/pandoc/commit/4ba0bac5c118da4da1d44e3bbb38d7c7aef19e3b.patch";
sha256 = "sha256-ayRKeCqYKgZVA826xgAXxGhttm0Gx4ZrIRJlFlXPKhw=";
}))
];
}
// import ./configuration-tensorflow.nix { inherit pkgs haskellLib; } self super
@@ -24,20 +24,12 @@
# tracked in stackage.yaml. Adding conflicting overrides with stackage here will
# not work.
default-package-overrides:
# gi-gdkx11-4.x requires gtk-4.x, but stackage still restricts gi-gtk to 3.*
- gi-gdkx11 < 4
# 2021-11-09: ghc-bignum is bundled starting with 9.0.1; only 1.0 builds with GHCs prior to 9.2.1
- ghc-bignum == 1.0
- extensions < 0.1.0.2 # Incompatible with Cabal < 3.12, the newest extensions version is only needed on ghc 9.10
# 2024-05-10: need to match hlegder from stackage
- hledger-ui < 1.33
- chs-cabal < 0.1.1.2 # Incompatible with Cabal < 3.12
# 2024-08-17: Stackage doesn't contain hnix-store-core >= 0.8 yet, so we need to restrict hnix-store-remote
- hnix-store-remote < 0.7
# 2024-09-12: match xmonad 0.17.* from Stackage LTS
- xmonad-contrib < 0.18.1
# 2024-11-01: no release version of http2/3 supports http-semantics >= 0.3.0 at the moment
- http-semantics < 0.3.0
# 2024-12-23: last version to be compatible with Stackage LTS 22/23 (due to data-default)
- diagrams-input < 0.1.4
# 2024-12-31: last version that's compatible with GHC < 9.9
@@ -47,16 +39,27 @@ default-package-overrides:
extra-packages:
- Cabal == 3.2.* # Used for packages needing newer Cabal on ghc 8.6 and 8.8
- Cabal == 3.10.*
- Cabal == 3.12.* # version required for cabal-install and other packages
- 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 == 3.10.*
- Cabal == 3.12.* # version required for cabal-install and other packages
- Cabal-syntax == 3.12.* # version required for cabal-install and other packages
- ShellCheck == 0.9.0 # 2024-03-21: pinned by haskell-ci
- aeson < 2 # required by pantry-0.5.2
- algebraic-graphs < 0.7 # 2023-08-14: Needed for building weeder < 2.6.0
- ansi-terminal < 1.1 # 2025-02-27: required for ghcjs
- ansi-terminal-types == 0.11.5 # 2025-02-27: required for ghcjs
- ansi-wl-pprint >= 0.6 && < 0.7 # 2024-03-23: required for ghcjs
- apply-refact == 0.9.* # 2022-12-12: needed for GHC < 9.2
- apply-refact == 0.11.* # 2023-02-02: needed for hls-hlint-plugin on GHC 9.2
- attoparsec == 0.13.* # 2022-02-23: Needed to compile elm for now
- commonmark-pandoc < 0.2.3 # 2025-04-06: Needed for pandoc 3.6
- extensions == 0.1.0.2 # 2024-10-20: for GHC 9.10/Cabal 3.12
- fourmolu == 0.14.0.0 # 2023-11-13: for ghc-lib-parser 9.6 compat
- fourmolu == 0.17.0.0 # 2025-01-27: for ghc 9.10 compat
- fsnotify < 0.4 # 2024-04-22: required by spago-0.21
- fuzzyset == 0.2.4 # 2023-12-20: Needed for building postgrest > 10
- ghc-api-compat == 8.10.7 # 2022-02-17: preserve for GHC 8.10.7
- ghc-exactprint == 0.6.* # 2022-12-12: needed for GHC < 9.2
- ghc-exactprint == 1.5.* # 2023-03-30: needed for GHC == 9.2
@@ -66,18 +69,25 @@ extra-packages:
- ghc-exactprint == 1.9.* # 2024-08-27: needed for GHC == 9.10
- ghc-lib == 9.2.* # 2022-02-17: preserve for GHC 8.10, 9.0
- ghc-lib == 9.8.* # 2024-05-19: preserve for GHC 9.8
- 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 8.10, 9.0
- ghc-lib-parser == 9.8.* # 2024-05-19: preserve for GHC 9.8
- ghc-lib == 9.10.* # 2024-12-30: preserve for GHC 9.10/ghc-tags 1.9
- ghc-lib-parser == 9.10.* # 2024-12-26: preserve for GHC 9.10
- ghc-lib-parser-ex == 9.10.* # 2024-12-26: preserve for 9.10 HLS
- ghc-lib-parser-ex == 9.2.* # 2022-07-13: preserve for GHC 8.10, 9.0
- ghc-lib-parser-ex == 9.8.* # 2024-05-19: preserve for GHC 9.8
- ghc-lib-parser-ex == 9.10.* # 2024-12-26: preserve for 9.10 HLS
- ghc-source-gen < 0.4.6.0 # 2024-12-31: support GHC < 9.0
- ghc-tags == 1.5.* # 2023-02-18: preserve for ghc-lib == 9.2.*
- ghc-tags == 1.6.* # 2023-02-18: preserve for ghc-lib == 9.4.*
- ghc-tags == 1.7.* # 2023-02-18: preserve for ghc-lib == 9.6.*
- ghc-tags == 1.8.* # 2023-02-18: preserve for ghc-lib == 9.8.*
- happy == 1.19.12 # for ghcjs
- hashable == 1.4.7.0 # allows GHC 9.10
- ansi-wl-pprint >= 0.6 && < 0.7 # 2024-03-23: required for ghcjs
- ansi-terminal < 1.1 # 2025-02-27: required for ghcjs
- ansi-terminal-types == 0.11.5 # 2025-02-27: required for ghcjs
- hasql < 1.7 # 2025-01-19: Needed for building postgrest
- hasql-dynamic-statements < 0.3.1.6 # 2025-01-19: Needed for building postgrest
- hasql-implicits < 0.2 # 2025-01-19: Needed for building postgrest
- hasql-notifications < 0.2.3 # 2025-01-19: Needed for building postgrest
- hasql-pool < 1.1 # 2025-01-19: Needed for building postgrest
- hasql-transaction < 1.1.1 # 2025-01-19: Needed for building postgrest
- hlint == 3.4.1 # 2022-09-21: needed for hls with ghc-lib-parser 9.2
- hnix-store-core < 0.7 # 2023-12-11: required by hnix-store-remote 0.6
- hspec < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
@@ -86,47 +96,26 @@ extra-packages:
- hspec-megaparsec == 2.2.0 # 2023-11-18: Latest version compatible with ghc 9.0, needed for HLS
- hspec-meta < 2.8 # 2022-12-07: Needed for elmPackages.elm / hspec-discover
- language-javascript == 0.7.0.0 # required by purescript
- lsp < 2.5 # 2024-07-08: need for koka
- lsp == 2.1.* # 2024-02-28: need for dhall-lsp-server
- lsp-types == 2.1.* # 2024-02-28: need for dhall-lsp-server and koka
- lsp < 2.5 # 2024-07-08: need for koka
- network-run == 0.4.0 # 2024-10-20: for GHC 9.10/network == 3.1.*
- optparse-applicative < 0.16 # needed for niv-0.2.19
- fourmolu == 0.14.0.0 # 2023-11-13: for ghc-lib-parser 9.6 compat
- fourmolu == 0.17.0.0 # 2025-01-27: for ghc 9.10 compat
- ormolu == 0.5.2.0 # 2023-08-08: for hls on ghc 9.0 and 9.2
- ormolu == 0.7.2.0 # 2023-11-13: for ghc-lib-parser 9.6 compat
- ormolu == 0.7.7.0 # 2025-01-27: for ghc 9.10 compat
- postgresql-binary < 0.14 # 2025-01-19: Needed for building postgrest
- primitive-unlifted == 0.1.3.1 # 2024-03-16: Needed for hls on ghc 9.2
- retrie < 1.2.0.0 # 2022-12-30: required for hls on ghc < 9.2
- shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
- stylish-haskell == 0.14.4.0 # 2022-09-19: needed for hls on ghc 9.2
- tar == 0.6.0.0 # 2025-02-08: last version to not require os-string (which can't be buil with GHC < 9.2)
- text == 2.0.2 # 2023-09-14: Needed for elm (which is currently on ghc-8.10)
- text-metrics < 0.3.3 # 2025-02-08: >= 0.3.3 uses GHC2021
- versions < 6 # 2024-04-22: required by spago-0.21
- weeder == 2.2.* # 2022-02-21: preserve for GHC 8.10.7
- weeder == 2.3.* # 2022-05-31: preserve for GHC 9.0.2
- weeder == 2.4.* # 2023-02-02: preserve for GHC 9.2.*
- retrie < 1.2.0.0 # 2022-12-30: required for hls on ghc < 9.2
- ghc-tags == 1.5.* # 2023-02-18: preserve for ghc-lib == 9.2.*
- ghc-tags == 1.6.* # 2023-02-18: preserve for ghc-lib == 9.4.*
- ghc-tags == 1.7.* # 2023-02-18: preserve for ghc-lib == 9.6.*
- ghc-tags == 1.8.* # 2023-02-18: preserve for ghc-lib == 9.8.*
- shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
- algebraic-graphs < 0.7 # 2023-08-14: Needed for building weeder < 2.6.0
- fuzzyset == 0.2.4 # 2023-12-20: Needed for building postgrest > 10
- postgresql-binary < 0.14 # 2025-01-19: Needed for building postgrest
- hasql < 1.7 # 2025-01-19: Needed for building postgrest
- hasql-dynamic-statements < 0.3.1.6 # 2025-01-19: Needed for building postgrest
- hasql-implicits < 0.2 # 2025-01-19: Needed for building postgrest
- hasql-notifications < 0.2.3 # 2025-01-19: Needed for building postgrest
- hasql-pool < 1.1 # 2025-01-19: Needed for building postgrest
- hasql-transaction < 1.1.1 # 2025-01-19: Needed for building postgrest
- ShellCheck == 0.9.0 # 2024-03-21: pinned by haskell-ci
- versions < 6 # 2024-04-22: required by spago-0.21
- fsnotify < 0.4 # 2024-04-22: required by spago-0.21
- th-desugar == 1.16 # 2024-06-28: preserve for GHC 9.8
- singletons-th == 3.3 # 2024-06-28: preserve for GHC 9.8
- singletons-base == 3.3 # 2024-06-28: preserve for GHC 9.8
- extensions == 0.1.0.2 # 2024-10-20: for GHC 9.10/Cabal 3.12
- network-run == 0.4.0 # 2024-10-20: for GHC 9.10/network == 3.1.*
- ghc-source-gen < 0.4.6.0 # 2024-12-31: support GHC < 9.0
- tar == 0.6.0.0 # 2025-02-08: last version to not require os-string (which can't be buil with GHC < 9.2)
- text-metrics < 0.3.3 # 2025-02-08: >= 0.3.3 uses GHC2021
package-maintainers:
abbradar:
File diff suppressed because it is too large Load Diff
@@ -1457,7 +1457,6 @@ dont-distribute-packages:
- graphicstools
- graphtype
- graphula
- graphula_2_1_0_1
- greencard-lib
- grid-proto
- gridbounds
File diff suppressed because it is too large Load Diff