summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-26 20:41:49 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-26 20:41:49 +0200
commitd0447151cf48d8da5fe251e4d3eb6a4fd0f05490 (patch)
tree3046638e3162dc5ae83eecb7237daff8d10df4e9
parentb7782cf8d32d22d8e9bc8bc125be2b2ff1fdd751 (diff)
Revert "Setup.hs - removed unneeded imports."
This reverts commit 5354b441706b7c745efecb9174b00625c2d6bab3.
-rw-r--r--Setup.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/Setup.hs b/Setup.hs
index 1f9e45bfe..3f6bb2858 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -17,10 +17,14 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
import Distribution.Simple
-import Distribution.Simple.Setup (CopyFlags(..), fromFlag)
-import Distribution.PackageDescription (PackageDescription(..))
+import Distribution.Simple.PreProcess
+import Distribution.Simple.Setup (ConfigFlags(..), CopyFlags(..), fromFlag)
+import Distribution.PackageDescription (PackageDescription(..), FlagName(..))
+import System.Exit
import Distribution.Simple.Utils (notice, installOrdinaryFiles)
+import Distribution.Simple.Program (simpleProgram, Program(..))
import Distribution.Simple.LocalBuildInfo
+import Control.Monad (when)
main :: IO ()
main = defaultMainWithHooks $ simpleUserHooks {