From 3f88b15256fadfca1f19dfd9fbb7d4a1644620d2 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 7 Feb 2022 20:48:37 +0100 Subject: [PATCH] haskellPackages: preserve ghc-exactprint 1.4.1 We'll continue using this version for GHC 9.2.1. 1.5.0 changes behavior in a breaking way, but the API stays the same, making it a risky upgrade. Hopefully dependents will tell us via version constraints what to use in the future. --- .../configuration-hackage2nix/main.yaml | 1 + .../haskell-modules/hackage-packages.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 56a6cb41cbaf..0be927f61258 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -168,6 +168,7 @@ extra-packages: - 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 + - ghc-exactprint == 1.4.* # 2022-02-07: preserve for now, 1.5.0 has a breaking change without type changes package-maintainers: abbradar: diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 7b0541f4c791..9e1914b3b97f 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -106181,6 +106181,19 @@ self: { license = lib.licenses.bsd3; }) {}; + "ghc-exactprint_1_4_1" = callPackage + ({ mkDerivation }: + mkDerivation { + pname = "ghc-exactprint"; + version = "1.4.1"; + sha256 = "0q9z43753arxbcs6mz26kz4dsz0c2i5hkxa125gl36vsipxfrq92"; + isLibrary = true; + isExecutable = true; + description = "ExactPrint for GHC"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "ghc-exactprint_1_5_0" = callPackage ({ mkDerivation }: mkDerivation {