aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {