From f0da4d8ea28992b9f619e50ccf63efc146dcf788 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Thu, 7 Apr 2022 18:53:54 +0200 Subject: [PATCH] haskell.packages.ghc922.hls-fourmolu-plugin: jailbreak --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index b55429da65b5..3a9e9f06fbe9 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -213,7 +213,9 @@ self: super: { regex-rure = doDistribute (markUnbroken super.regex-rure); jacinda = doDistribute super.jacinda; some = doJailbreak super.some; - fourmolu = super.fourmolu_0_5_0_1; + fourmolu = super.fourmolu_0_6_0_0; + # hls-fourmolu-plugin in this version has a to strict upper bound of fourmolu <= 0.5.0.0 + hls-fourmolu-plugin = assert super.hls-fourmolu-plugin.version == "1.0.2.0"; doJailbreak super.hls-fourmolu-plugin; implicit-hie-cradle = doJailbreak super.implicit-hie-cradle; # 1.3 introduced support for GHC 9.2.x, so when this assert fails, the jailbreak can be removed hashtables = assert super.hashtables.version == "1.2.4.2"; doJailbreak super.hashtables;