diff options
author | Peter Simons <simons@cryp.to> | 2023-02-02 09:41:56 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-02-04 12:34:07 +0100 |
commit | 962633e4d16c3a268f1e48e509a156cc33ba99ef (patch) | |
tree | bf6909ce62c80042da0a71555064ea57242f5294 /pkgs/development/haskell-modules/patches | |
parent | 63862f4a66c19edc38280c51386513f5cee30afc (diff) | |
download | nixpkgs-962633e4d16c3a268f1e48e509a156cc33ba99ef.tar nixpkgs-962633e4d16c3a268f1e48e509a156cc33ba99ef.tar.gz nixpkgs-962633e4d16c3a268f1e48e509a156cc33ba99ef.tar.bz2 nixpkgs-962633e4d16c3a268f1e48e509a156cc33ba99ef.tar.lz nixpkgs-962633e4d16c3a268f1e48e509a156cc33ba99ef.tar.xz nixpkgs-962633e4d16c3a268f1e48e509a156cc33ba99ef.tar.zst nixpkgs-962633e4d16c3a268f1e48e509a156cc33ba99ef.zip |
haskell.packages.ghc94.gtk2hs-buildtools: gtk2hs setup hook broken for ghc-9.4.4
See https://github.com/gtk2hs/gtk2hs/issues/323 for details.
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r-- | pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 new file mode 100644 index 00000000000..948a0366ca4 --- /dev/null +++ b/pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch @@ -0,0 +1,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 + } + |