From 4ec5eee6240d8214bdf65a2f0f75b7a28b977f28 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 16 Oct 2020 21:36:20 +0200 Subject: [PATCH] stylish-haskell: jailbreak build with ghc-8.10.x to support Cabal-3.2.x --- pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 5b4768829431..71680074b746 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -129,4 +129,7 @@ self: super: { executableHaskellDepends = drv.executableToolDepends or [] ++ [ self.repline ]; })); + # Break out of "Cabal < 3.2" constraint. + stylish-haskell = doJailbreak super.stylish-haskell; + }