From 6c7d748ceb56f8c23ef3f12fc3e21cfc5ce31cd3 Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Tue, 9 Feb 2021 10:28:28 +0100 Subject: Fix to build with HEAD --- haddock-api/src/Haddock/Interface.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'haddock-api/src/Haddock/Interface.hs') diff --git a/haddock-api/src/Haddock/Interface.hs b/haddock-api/src/Haddock/Interface.hs index b4c20b99..16643d0e 100644 --- a/haddock-api/src/Haddock/Interface.hs +++ b/haddock-api/src/Haddock/Interface.hs @@ -44,7 +44,7 @@ import Haddock.Types import Haddock.Utils import Control.Monad -import Control.Monad.IO.Class ( MonadIO, liftIO ) +import Control.Monad.IO.Class ( MonadIO ) import Data.IORef import Data.List (foldl', isPrefixOf, nub) import qualified Data.Map as Map @@ -69,7 +69,6 @@ import GHC.Types.Name (nameIsFromExternalPackage, nameOccName) import GHC.Types.Name.Occurrence (isTcOcc) import GHC.Types.Name.Reader (unQualOK, greMangledName, globalRdrEnvElts) import GHC.HsToCore.Docs -import GHC.Runtime.Loader (initializePlugins) import GHC.Plugins (Outputable, StaticPlugin(..), Plugin(..), PluginWithArgs(..), defaultPlugin, keepRenamedSource) -- cgit v1.2.3