Commit a15d243e authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺

Harden imports in `DeriveConstants.hs` module

This was generated by applying `-ddump-minimal-imports` and addresses
the current compile failure (see #9016) with GHC HEAD due to the new
`die` being exported by `System.Exit`
Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
parent 3a04ce29
...@@ -10,20 +10,20 @@ into non-C source containing this information. ...@@ -10,20 +10,20 @@ into non-C source containing this information.
------------------------------------------------------------------------ -} ------------------------------------------------------------------------ -}
import Control.Monad import Control.Monad (when, unless)
import Data.Bits import Data.Bits (shiftL)
import Data.Char import Data.Char (toLower)
import Data.List import Data.List (stripPrefix)
import Data.Map (Map) import Data.Map (Map)
import qualified Data.Map as Map import qualified Data.Map as Map
import Data.Maybe import Data.Maybe (catMaybes)
import Numeric import Numeric (readHex)
import System.Environment import System.Environment (getArgs)
import System.Exit import System.Exit (ExitCode(ExitSuccess), exitFailure)
import System.FilePath import System.FilePath ((</>))
import System.IO import System.IO (stderr, hPutStrLn)
import System.Info import System.Info (os)
import System.Process import System.Process (showCommandForUser, readProcess, rawSystem)
main :: IO () main :: IO ()
main = do opts <- parseArgs main = do opts <- parseArgs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment