From 78f91c8aa17c91029dd001a4e953268b45946315 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 14 Jun 2018 08:49:38 +0200 Subject: [PATCH] hledger: jailbreak to fix builds with ghc-8.4.x --- .../development/haskell-modules/configuration-ghc-8.4.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix index 68fa2385179e..db453e66c679 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix @@ -444,4 +444,10 @@ self: super: { lambdabot-core = appendPatch super.lambdabot-core ./patches/lambdabot-core-ghc-8.4.x-fix.patch; + # Version 1.9.1 excludes base-compat 0.10.x for the benefit of older + # compilers, but ghc 8.4.x works fine with the new version. + hledger-lib = doJailbreak super.hledger-lib; + hledger = doJailbreak super.hledger; + hledger-ui = doJailbreak super.hledger-ui; + }