summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-07-30 19:36:14 +0200
committerPeter Simons <simons@cryp.to>2018-07-30 19:46:25 +0200
commit5c4b20303207f3c808bdefaa3ff16f3165f748ca (patch)
treecc7eb426104c6b300d616c591399dd17b29d4c36 /pkgs/development/haskell-modules
parent6c54cfb280fe4f4090f622dc247b76b62fa345dc (diff)
downloadnixpkgs-5c4b20303207f3c808bdefaa3ff16f3165f748ca.tar
nixpkgs-5c4b20303207f3c808bdefaa3ff16f3165f748ca.tar.gz
nixpkgs-5c4b20303207f3c808bdefaa3ff16f3165f748ca.tar.bz2
nixpkgs-5c4b20303207f3c808bdefaa3ff16f3165f748ca.tar.lz
nixpkgs-5c4b20303207f3c808bdefaa3ff16f3165f748ca.tar.xz
nixpkgs-5c4b20303207f3c808bdefaa3ff16f3165f748ca.tar.zst
nixpkgs-5c4b20303207f3c808bdefaa3ff16f3165f748ca.zip
hledger-lib: patch code to work around a regression in version 0.10
https://github.com/simonmichael/hledger/issues/852
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix7
1 files changed, 7 insertions, 0 deletions
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: {