From aed9401abc4e5c23ee41c079b00a93cdeefc7ef6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 12 Mar 2018 10:49:43 +0100 Subject: [PATCH] hledger-lib: add override fix build with ghc 8.4.x --- .../haskell-modules/configuration-ghc-8.4.x.nix | 7 +++++++ 1 file changed, 7 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 18fc916a2b1..9d4b632edba 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix @@ -788,4 +788,11 @@ self: super: { jailbreak = true; }); + # Fix missing semigroup instance for Journal. + hledger-lib = appendPatch super.hledger-lib (pkgs.fetchpatch + { url = https://github.com/simonmichael/hledger/pull/718.patch; + sha256 = "1gcs9j934wvk9hbn27zm42dnvf4x1gxr54li4kdw3zi3160y2l5c"; + stripLen = 1; + }); + }