haskell-pantry: apply upstream patch to fix the build with ghc-8.10.x
commit7a10ebe3612ac71232052124fad9f1a00f7d950f
authorPeter Simons <simons@cryp.to>
dateFri 8 May 2020, 11:14 (7 years ago)
parent96ca16d
pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix+8
@@ -138,4 +138,12 @@ self: super: {
138138 ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex super.ghc-lib-parser;
139139 };
140140
141+ # https://github.com/commercialhaskell/pantry/issues/21
142+ pantry = appendPatch super.pantry (pkgs.fetchpatch {
143+ name = "add-cabal-3.2.x-support.patch";
144+ url = "https://patch-diff.githubusercontent.com/raw/commercialhaskell/pantry/pull/22.patch";
145+ sha256 = "198hsfjsy83s7rp71llf05cwa3vkm74g73djg5p4sk4awm9s6vf2";
146+ excludes = ["package.yaml"];
147+ });
148+
141149}