From 679542641122765010da85ec7cbdb73d40297463 Mon Sep 17 00:00:00 2001 From: Tommy Bidne Date: Wed, 7 Jun 2023 09:09:48 +1200 Subject: haskell.packages.ghc94.gtk2hs-buildtools: remove patch for upstream fix --- pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix | 5 ----- .../patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch | 12 ------------ 2 files changed, 17 deletions(-) delete mode 100644 pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch (limited to 'pkgs') 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 - } - -- cgit 1.4.1