diff options
Diffstat (limited to 'haddock-api/src/Haddock.hs')
-rw-r--r-- | haddock-api/src/Haddock.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/haddock-api/src/Haddock.hs b/haddock-api/src/Haddock.hs index 68392ab3..3c8f05c9 100644 --- a/haddock-api/src/Haddock.hs +++ b/haddock-api/src/Haddock.hs @@ -67,13 +67,13 @@ import System.FilePath ((</>)) import Text.ParserCombinators.ReadP (readP_to_S) import GHC hiding (verbosity) import Config -import DynFlags hiding (projectVersion, verbosity) +import GHC.Driver.Session hiding (projectVersion, verbosity) import ErrUtils -import Packages +import GHC.Driver.Packages import Panic (handleGhcException) import Module import FastString -import qualified DynamicLoading +import qualified GHC.Runtime.Loader -------------------------------------------------------------------------------- -- * Exception handling @@ -473,7 +473,7 @@ withGhc' libDir needHieFiles flags ghcActs = runGhc (Just libDir) $ do -- dynamic or static linking at all! _ <- setSessionDynFlags dynflags'' hscenv <- GHC.getSession - dynflags''' <- liftIO (DynamicLoading.initializePlugins hscenv dynflags'') + dynflags''' <- liftIO (GHC.Runtime.Loader.initializePlugins hscenv dynflags'') _ <- setSessionDynFlags dynflags''' ghcActs dynflags''' where |