summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-10-13 19:43:56 +0000
committerIan Lynagh <igloo@earth.li>2010-10-13 19:43:56 +0000
commit9fa96fc44a640014415e1588f50ab7689285e6cb (patch)
treedfc06cc906e22228cac4b7b46e31da287cf9338e /utils
parentaddf865136274069fe72793aa6f82a6e0fd4758a (diff)
downloadhaskell-9fa96fc44a640014415e1588f50ab7689285e6cb.tar.gz
Remove ghc-pkg's dependency on haskell98
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-pkg/Main.hs4
-rw-r--r--utils/ghc-pkg/ghc-pkg.cabal1
2 files changed, 1 insertions, 4 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index 4c68c2b6ca..3490b6c18d 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -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)
diff --git a/utils/ghc-pkg/ghc-pkg.cabal b/utils/ghc-pkg/ghc-pkg.cabal
index e04ec322ad..3870249fc5 100644
--- a/utils/ghc-pkg/ghc-pkg.cabal
+++ b/utils/ghc-pkg/ghc-pkg.cabal
@@ -21,7 +21,6 @@ Executable ghc-pkg
Build-Depends: base >= 4 && < 5,
directory >= 1 && < 1.2,
process >= 1 && < 1.1,
- haskell98,
filepath,
Cabal,
binary,