summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg/Main.hs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-15 21:51:25 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-15 21:51:25 +0000
commit6c743b6cab7632779d6509c2f6de1e9830acd263 (patch)
treede396b31f354db5f1df0866f3645b998b960e275 /utils/ghc-pkg/Main.hs
parented2108267b93e6abd769192bdc8fe86cefef7a70 (diff)
downloadhaskell-6c743b6cab7632779d6509c2f6de1e9830acd263.tar.gz
Stop using the deprecated System.Cmd
Diffstat (limited to 'utils/ghc-pkg/Main.hs')
-rw-r--r--utils/ghc-pkg/Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index 6e9dba6dab..2e7bab6cc4 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -21,7 +21,7 @@ import Distribution.Text
import Distribution.Version
import System.FilePath as FilePath
import qualified System.FilePath.Posix as FilePath.Posix
-import System.Cmd ( rawSystem )
+import System.Process
import System.Directory ( getAppUserDataDirectory, createDirectoryIfMissing,
getModificationTime )
import Text.Printf
@@ -61,7 +61,6 @@ import System.Posix hiding (fdToHandle)
#endif
#if defined(GLOB)
-import System.Process(runInteractiveCommand)
import qualified System.Info(os)
#endif