Remove ghc-pkg's dependency on haskell98
authorIan Lynagh <igloo@earth.li>
Wed, 13 Oct 2010 19:43:56 +0000 (19:43 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 13 Oct 2010 19:43:56 +0000 (19:43 +0000)
utils/ghc-pkg/Main.hs
utils/ghc-pkg/ghc-pkg.cabal

index 4c68c2b..3490b6c 100644 (file)
@@ -38,7 +38,7 @@ import System.Directory ( doesDirectoryExist, getDirectoryContents,
 import System.Exit ( exitWith, ExitCode(..) )
 import System.Environment ( getArgs, getProgName, getEnv )
 import System.IO
-import System.IO.Error (try, isDoesNotExistError)
+import System.IO.Error
 import Data.List
 import Control.Concurrent
 
@@ -63,8 +63,6 @@ import GHC.ConsoleHandler
 import System.Posix hiding (fdToHandle)
 #endif
 
-import IO ( isPermissionError )
-
 #if defined(GLOB)
 import System.Process(runInteractiveCommand)
 import qualified System.Info(os)
index e04ec32..3870249 100644 (file)
@@ -21,7 +21,6 @@ Executable ghc-pkg
     Build-Depends: base       >= 4   && < 5,
                    directory  >= 1   && < 1.2,
                    process    >= 1   && < 1.1,
-                   haskell98,
                    filepath,
                    Cabal,
                    binary,