diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-04-21 16:37:30 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-04-21 16:49:49 +0200 |
commit | e2b14c70c800363db5ccb5c3032eed8b9d7d3747 (patch) | |
tree | a392a706b6d906c0ef8e14cf5a055766815b1626 /utils | |
parent | 574ef4293b867609f2d28d85747e01f3ac0d052d (diff) | |
download | haskell-e2b14c70c800363db5ccb5c3032eed8b9d7d3747.tar.gz |
Use import list to hide new System.Exit.die
Soon, System.Exit will export the new `die` (see #9016) which would clash with
Cabal's own `die` implementation. This commit provides forward-compatiblity.
This also updates the Cabal submodule which requires a similiar fix.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ghc-cabal/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs index cfd3d27990..d33652fe96 100644 --- a/utils/ghc-cabal/Main.hs +++ b/utils/ghc-cabal/Main.hs @@ -28,7 +28,7 @@ import Data.Maybe import System.IO import System.Directory import System.Environment -import System.Exit +import System.Exit (exitWith, ExitCode(..)) import System.FilePath main :: IO () |