From 5fcda75017fc78fdb562c941ffb51710e7fb0afd Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 5 Dec 2021 14:02:30 +0100 Subject: [PATCH] haskell.packages.ghc901.{multistate,butcher}: jailbreak These packages build fine with GHC 9.0.1, but forbid base 4.15. Build fixed as a prerequisite to later unbreaking brittany. --- .../development/haskell-modules/configuration-ghc-9.0.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index 8670285918f2..b46d06efddc7 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -152,6 +152,12 @@ self: super: { # Restrictive upper bound on ormolu hls-ormolu-plugin = doJailbreak super.hls-ormolu-plugin; + # Too strict bounds on base + # https://github.com/lspitzner/multistate/issues/9 + multistate = doJailbreak super.multistate; + # https://github.com/lspitzner/butcher/issues/7 + butcher = doJailbreak super.butcher; + # 2021-09-18: The following plugins don‘t work yet on ghc9. haskell-language-server = appendConfigureFlags [ "-f-tactic"