From e32bc0b5c04f0080b4c8505649921e5f7e8d6a5f Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 22 Dec 2017 13:54:01 -0500 Subject: [PATCH] haskellPackages.lenz: Fix against latest hs-functors --- .../haskell-modules/configuration-common.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; + }); }