From 5c4b20303207f3c808bdefaa3ff16f3165f748ca Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 30 Jul 2018 19:36:14 +0200 Subject: [PATCH] hledger-lib: patch code to work around a regression in version 0.10 https://github.com/simonmichael/hledger/issues/852 --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 3c8f94860b4..8c1c2fac250 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -972,6 +972,13 @@ self: super: { sha256 = "0i889zs46wn09d7iqdy99201zaqxb175cfs8jz2zi3mv4ywx3a0l"; }); + # https://github.com/simonmichael/hledger/issues/852 + hledger-lib = appendPatch super.hledger-lib (pkgs.fetchpatch { + url = "https://github.com/simonmichael/hledger/commit/007b9f8caaf699852511634752a7d7c86f6adc67.patch"; + sha256 = "1lfp29mi1qyrcr9nfjigbyric0xb9n4ann5w6sr0g5sanr4maqs2"; + stripLen = 1; + }); + # Copy hledger man pages from data directory into the proper place. This code # should be moved into the cabal2nix generator. hledger = overrideCabal super.hledger (drv: {