Use the cabal configuration flags where possible when finalizing the PackageDescription.

This commit is contained in:
Rob Everest
2014-09-10 22:23:36 +10:00
parent 274b5d8e1c
commit 2c2e7782d2
9 changed files with 66 additions and 16 deletions

View File

@@ -149,6 +149,8 @@ main = flip E.catches handlers $ do
hPutStrLn stderr msg
Left (GMECabalConfigure msg) ->
hPutStrLn stderr $ "cabal configure failed: " ++ show msg
Left (GMECabalFlags msg) ->
hPutStrLn stderr $ "retrieval of the cabal configuration flags failed: " ++ show msg
Left (GMEProcess cmd msg) ->
hPutStrLn stderr $
"launching operating system process `"++c++"` failed: " ++ show msg