haskellPackages.lenz: Fix against latest hs-functors

This commit is contained in:
Shea Levy 2017-12-22 13:54:01 -05:00
parent 4c66ebb0d1
commit e32bc0b5c0
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -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;
});
}