diff options
author | Rodney Lorrimar <dev@rodney.id.au> | 2023-07-06 15:46:52 +0800 |
---|---|---|
committer | Rodney Lorrimar <dev@rodney.id.au> | 2023-07-06 20:18:35 +0800 |
commit | 0e504b6873bd61226782ce6ac9f89fb299af8aa4 (patch) | |
tree | edc6815fee65ae2a02e99f94a24f82c601a73a2e /pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | |
parent | 7c9c1c4802b7284b34a89c95d7ea16e56a404a12 (diff) | |
download | nixlib-0e504b6873bd61226782ce6ac9f89fb299af8aa4.tar nixlib-0e504b6873bd61226782ce6ac9f89fb299af8aa4.tar.gz nixlib-0e504b6873bd61226782ce6ac9f89fb299af8aa4.tar.bz2 nixlib-0e504b6873bd61226782ce6ac9f89fb299af8aa4.tar.lz nixlib-0e504b6873bd61226782ce6ac9f89fb299af8aa4.tar.xz nixlib-0e504b6873bd61226782ce6ac9f89fb299af8aa4.tar.zst nixlib-0e504b6873bd61226782ce6ac9f89fb299af8aa4.zip |
haskell.packages.ghc96.ConfigFile: add build patch
This lets the package build with GHC 9.6.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix index 916d0c390a4e..bb4e43bd1a04 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix @@ -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; } |