https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9394 Needs backporting to all versions + revbump as can lead to misconfiguration.