haskellPackages: Drop a lot of unnecessary overrides

main
Malte Brandy 2 years ago
parent bef56cfb09
commit 38b125a59d
  1. 56
      pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
  2. 726
      pkgs/development/haskell-modules/hackage-packages.nix

@ -71,67 +71,14 @@ default-package-overrides:
# gi-gdkx11-4.x requires gtk-4.x, which is still under development and
# not yet available in Nixpkgs
- gi-gdkx11 < 4
# streamly-* packages which are not in stackage and to be constrained
# as long as we have streamly < 0.8.0
- streamly-archive < 0.1.0
- streamly-bytestring < 0.1.3
- streamly-lmdb < 0.3.0
- streamly-process
# dhall-nix is not part of stackage, remove if dhall >= 1.40
- dhall-nix < 1.1.22
# reflex-dom-pandoc is only used by neuron which needs a version < 1.0.0.0
- reflex-dom-pandoc < 1.0.0.0
# 2022-02-18: pin to our current GHC version
- ghc-api-compat == 9.0.*
# 2021-10-13: weeder 2.3.0 require GHC == 9.0.*; remove pin when GHC version changes
- weeder < 2.3.0
# 2021-10-10: taskwarrior 0.4 requires aeson > 2.0.1.0
- taskwarrior < 0.4.0.0
# 2021-10-19: autoapply 0.4.1.1 requires th-desugar 1.12
- autoapply < 0.4.1.1
# 2021-10-22: 1.8 breaks shake-bench
- SVGFonts < 1.8
# 2021-11-09: 0.20.6 can't be built with aeson < 2.0 which is a pain to override at the moment
- futhark < 0.20.6
# 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
# 2021-11-18: lucid-{alpine, htmx} are not in stackage, so we need to downgrade them
- lucid-alpine == 0.1.0.2
- lucid-htmx == 0.1.0.2
# 2021-11-21: restrict haskell-gi-related packages to match stackage version (0.25)
- gi-girepository < 1.0.25
- gi-ggit < 1.0.11
- gi-gst < 1.0.25
- gi-gstaudio < 1.0.24
- gi-gstbase < 1.0.25
- gi-gstvideo < 1.0.25
- gi-gtksource < 3.0.25
- gi-ibus < 1.5.4
- gi-javascriptcore < 4.0.24
- gi-ostree < 1.0.15
- gi-notify < 0.7.24
- gi-pangocairo < 1.0.26
- gi-poppler < 0.18.26
- gi-secret < 0.0.14
- gi-soup < 2.4.25
- gi-vte < 2.91.29
- gi-webkit2 < 4.0.28
- gi-webkit2webextension < 4.0.27
- gi-wnck < 3.0.11
# gi-cogl, gi-coglpango, gi-clutter, gi-json, gi-rsvg are only available for haskell-gi >= 0.26
# 1.2.1.0 needs opaleye >= 0.8 which stackage doesn't provide
- rel8 < 1.2.1.0
# 0.14.0.0 drops support for every GHC < 9.0.1
- brittany < 0.14
# 1.2.0.0: “Dropped support for GHC <9.2 (might readd it later)”
- retrie < 1.2.0.0
# Compat with polysemy in Stackage LTS 18
- polysemy-resume < 0.1.0.2
- polysemy-conc < 0.5
- polysemy-mocks < 0.2
# Pinning patch because it is mainly used by the reflex-frp ecosystem which is not yet compatible with it.
# https://github.com/reflex-frp/reflex-dom/issues/431
- patch < 0.0.5.0
# On the recommendation of hnix author:
# https://github.com/NixOS/nixpkgs/pull/154461#issuecomment-1015511883
- hnix < 0.15
@ -170,8 +117,7 @@ extra-packages:
- doctest == 0.18.* # 2021-11-19: closest to stackage version for GHC 9.*
- brick == 0.64.* # 2021-12-03: matterhorn depends on brick < 0.65
- path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2
- ormolu == 0.3.* # 2021-12-03: for HLS with GHC 9.0.2
- fourmolu == 0.4.* # 2022-02-05: for HLS with GHC 9.0.2
- ormolu == 0.2.* # 2022-02-21: For ghc 8.8
- ghc-exactprint == 1.4.* # 2022-02-07: preserve for now, 1.5.0 has a breaking change without type changes
- ShellCheck == 0.7.2 # 2022-02-20: haskell-ci 0.14 needs this

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save