diff --git a/ghc-api-compat.cabal b/ghc-api-compat.cabal index 5799da8644d13fb1c1c440b9084e11bd25ce54ad..173086aa8fbb4f22707909e2337cfc4555821a68 100644 --- a/ghc-api-compat.cabal +++ b/ghc-api-compat.cabal @@ -81,6 +81,8 @@ library if impl(ghc >= 8.11) + hs-source-dirs: src + exposed-modules: Outputable reexported-modules: GHC.Rename.Bind as RnBinds , GHC.Rename.Env as RnEnv @@ -451,7 +453,8 @@ library , GHC.Utils.Misc as Util , GHC.Utils.Monad as MonadUtils , GHC.Utils.Monad.State as State - , GHC.Utils.Outputable as Outputable + -- Customly exposed + -- , GHC.Utils.Outputable as Outputable , GHC.Utils.Panic as Panic , GHC.Utils.Panic.Plain as PlainPanic , GHC.Utils.Ppr as Pretty diff --git a/src/Outputable.hs b/src/Outputable.hs new file mode 100644 index 0000000000000000000000000000000000000000..eede817716f88132a1b83b29c4d7bc4fc4cda35b --- /dev/null +++ b/src/Outputable.hs @@ -0,0 +1,7 @@ +module Outputable + ( module GHC.Utils.Outputable + , initSDocContext + ) where + +import GHC.Utils.Outputable +import GHC.Driver.Session (initSDocContext) \ No newline at end of file