haskell-pantry: apply upstream patch to fix the build with ghc-8.10.x

This commit is contained in:
Peter Simons 2020-05-08 11:14:36 +02:00
parent 96ca16d0d8
commit 7a10ebe361

View file

@ -138,4 +138,12 @@ self: super: {
ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex super.ghc-lib-parser;
};
# https://github.com/commercialhaskell/pantry/issues/21
pantry = appendPatch super.pantry (pkgs.fetchpatch {
name = "add-cabal-3.2.x-support.patch";
url = "https://patch-diff.githubusercontent.com/raw/commercialhaskell/pantry/pull/22.patch";
sha256 = "198hsfjsy83s7rp71llf05cwa3vkm74g73djg5p4sk4awm9s6vf2";
excludes = ["package.yaml"];
});
}