@@ -43,6 +43,7 @@ hooks =
4343 , ("bindings-lxc", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Linux))) , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
4444 , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
4545 , ("Cabal", set doCheck False) -- test suite doesn't work in Nix
46+ , ("Cabal >2.2", over (setupDepends . haskell) (Set.union (Set.fromList [bind "self.mtl", bind "self.parsec"]))) -- https://github.com/haskell/cabal/issues/5391
4647 , ("cabal-helper", set doCheck False) -- https://github.com/DanielG/cabal-helper/issues/17
4748 , ("cabal-install", set doCheck False . set phaseOverrides cabalInstallPostInstall)
4849 , ("darcs", set phaseOverrides darcsInstallPostInstall . set doCheck False)