about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix5
-rw-r--r--pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch12
2 files changed, 0 insertions, 17 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix
index 2d02849c4caa..230e0f324f63 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix
@@ -205,11 +205,6 @@ in {
   cairo = __CabalEagerPkgConfigWorkaround (doJailbreak super.cairo);
   pango = __CabalEagerPkgConfigWorkaround (doJailbreak super.pango);
 
-  # The gtk2hs setup hook provided by this package lacks the ppOrdering field that
-  # recent versions of Cabal require. This leads to builds like cairo and glib
-  # failing during the Setup.hs phase: https://github.com/gtk2hs/gtk2hs/issues/323.
-  gtk2hs-buildtools = appendPatch ./patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch super.gtk2hs-buildtools;
-
   # Pending text-2.0 support https://github.com/gtk2hs/gtk2hs/issues/327
   gtk = doJailbreak super.gtk;
 }
diff --git a/pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch b/pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch
deleted file mode 100644
index 948a0366ca4e..000000000000
--- a/pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/Gtk2HsSetup.hs b/src/Gtk2HsSetup.hs
-index 598048f..b652b76 100644
---- a/src/Gtk2HsSetup.hs
-+++ b/src/Gtk2HsSetup.hs
-@@ -300,6 +300,7 @@ ourC2hs :: BuildInfo -> LocalBuildInfo -> PreProcessor
- ourC2hs bi lbi = PreProcessor {
- #endif
-   platformIndependent = False,
-+  ppOrdering = (\ _ _ ms -> return ms),
-   runPreProcessor = runC2HS bi lbi
- }
-