diff options
author | Peter Simons <simons@cryp.to> | 2024-02-26 08:21:06 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2024-02-26 08:21:06 +0100 |
commit | 638a3c85f4ecc42a4fc3b8c12dfb51b403455fa7 (patch) | |
tree | b271cf1e2444b4d3952ff21d229ed44864017dc5 /pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix | |
parent | 27450315a615c8cbb25638eb5263e1db8dd38c07 (diff) |
libmpd: patch ghc-9.8.x version of the build to support text-2.1.x
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix index aef62e8cfc779..d728dae7dba13 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix @@ -113,4 +113,12 @@ self: super: { # 2023-12-23: It needs this to build under ghc-9.6.3. # A factor of 100 is insufficent, 200 seems seems to work. hip = appendConfigureFlag "--ghc-options=-fsimpl-tick-factor=200" super.hip; + + # Fix build with text-2.x. + libmpd = appendPatch (pkgs.fetchpatch + { url = "https://github.com/vimus/libmpd-haskell/pull/138.patch"; + sha256 = "Q4fA2J/Tq+WernBo+UIMdj604ILOMlIYkG4Pr046DfM="; + }) + super.libmpd; + } |