hledger-lib: patch code to work around a regression in version 0.10

https://github.com/simonmichael/hledger/issues/852
This commit is contained in:
Peter Simons 2018-07-30 19:36:14 +02:00
parent 6c54cfb280
commit 5c4b203032

View File

@ -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: {