about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch
blob: 948a0366ca4e4758c0cf344165ccc0c55eda1992 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
 }