haskell.packages.ghc96.ConfigFile: add build patch

This lets the package build with GHC 9.6.
This commit is contained in:
Rodney Lorrimar 2023-07-06 15:46:52 +08:00
parent 7c9c1c4802
commit 0e504b6873
No known key found for this signature in database
GPG key ID: D8B75C95FB4D1143

View file

@ -210,4 +210,14 @@ self: super: {
})
super.libmpd;
# Apply patch from PR with mtl-2.3 fix.
ConfigFile = overrideCabal (drv: {
editedCabalFile = null;
buildDepends = drv.buildDepends or [] ++ [ self.HUnit ];
patches = [(pkgs.fetchpatch {
name = "ConfigFile-pr-12.patch";
url = "https://github.com/jgoerzen/configfile/pull/12.patch";
sha256 = "sha256-b7u9GiIAd2xpOrM0MfILHNb6Nt7070lNRIadn2l3DfQ=";
})];
}) super.ConfigFile;
}