about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-12-22 13:54:01 -0500
committerShea Levy <shea@shealevy.com>2017-12-22 13:54:01 -0500
commite32bc0b5c04f0080b4c8505649921e5f7e8d6a5f (patch)
treee52926dfc875db5f0459529f7593bd69a00414ac /pkgs/development/haskell-modules
parent4c66ebb0d1b2a195851b7c52658dc258c851df38 (diff)
downloadnixlib-e32bc0b5c04f0080b4c8505649921e5f7e8d6a5f.tar
nixlib-e32bc0b5c04f0080b4c8505649921e5f7e8d6a5f.tar.gz
nixlib-e32bc0b5c04f0080b4c8505649921e5f7e8d6a5f.tar.bz2
nixlib-e32bc0b5c04f0080b4c8505649921e5f7e8d6a5f.tar.lz
nixlib-e32bc0b5c04f0080b4c8505649921e5f7e8d6a5f.tar.xz
nixlib-e32bc0b5c04f0080b4c8505649921e5f7e8d6a5f.tar.zst
nixlib-e32bc0b5c04f0080b4c8505649921e5f7e8d6a5f.zip
haskellPackages.lenz: Fix against latest hs-functors
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index a08697a5792b..58de439d839c 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1008,4 +1008,15 @@ self: super: {
 
   # https://github.com/alphaHeavy/protobuf/issues/34
   protobuf = dontCheck super.protobuf;
+
+  # https://github.com/strake/lenz.hs/issues/2
+  lenz =
+    let patch = pkgs.fetchpatch
+          { url = https://github.com/strake/lenz.hs/commit/4b9b79104759b9c6b24484455e1eb0d962eb3cff.patch;
+            sha256 = "02i0w9i55a4r251wgjzl5vbk6m2qhilwl7bfp5jwmf22z66sglyn";
+          };
+    in overrideCabal super.lenz (drv:
+      { patches = (drv.patches or []) ++ [ patch ];
+        editedCabalFile = null;
+      });
 }