about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
diff options
context:
space:
mode:
authorandys8 <andys8@users.noreply.github.com>2020-04-20 16:34:07 +0200
committerPeter Simons <simons@cryp.to>2020-04-24 22:00:38 +0200
commit28556cd9abcb31ea64c218b07535f6d6589a426b (patch)
tree3ec954a55043509fdea26039295182891c61bdc5 /pkgs/development/haskell-modules/configuration-hackage2nix.yaml
parent32c8e793bce08a7ec53c9da4d3924a681173c1e0 (diff)
downloadnixlib-28556cd9abcb31ea64c218b07535f6d6589a426b.tar
nixlib-28556cd9abcb31ea64c218b07535f6d6589a426b.tar.gz
nixlib-28556cd9abcb31ea64c218b07535f6d6589a426b.tar.bz2
nixlib-28556cd9abcb31ea64c218b07535f6d6589a426b.tar.lz
nixlib-28556cd9abcb31ea64c218b07535f6d6589a426b.tar.xz
nixlib-28556cd9abcb31ea64c218b07535f6d6589a426b.tar.zst
nixlib-28556cd9abcb31ea64c218b07535f6d6589a426b.zip
Haskell: apply-refact version has to match ghc
This commit maps:

* GHC 8.6 to apply-refact 0.6
* GHC 8.8 to apply-refact 0.7
* GHC 8.10 to apply-refact 0.8

See:
<https://hackage.haskell.org/package/apply-refact/changelog>
<https://github.com/mpickering/apply-refact/issues/56>
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-hackage2nix.yaml')
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index 7b43b8269370..83b4b388cd83 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -2358,6 +2358,9 @@ extra-packages:
   - ansi-terminal == 0.10.3             # required by cabal-plan, and policeman in ghc-8.8.x
   - aeson-pretty < 0.8                  # required by elm compiler
   - apply-refact < 0.4                  # newer versions don't work with GHC 8.0.x
+  - apply-refact == 0.6.0.0             # works with GHC 8.6.x
+  - apply-refact == 0.7.0.0             # works with GHC 8.8.x
+  - apply-refact == 0.8.0.0             # works with GHC 8.10.x
   - binary > 0.7 && < 0.8               # keep a 7.x major release around for older compilers
   - binary > 0.8 && < 0.9               # keep a 8.x major release around for older compilers
   - blank-canvas < 0.6.3                # more recent versions depend on base-compat-batteries == 0.10.* but we're on base-compat-0.9.*