Revert "Setup.hs - removed unneeded imports."

This reverts commit 5354b44170.
This commit is contained in:
John MacFarlane 2017-03-26 20:41:49 +02:00
parent b7782cf8d3
commit d0447151cf

View file

@ -17,10 +17,14 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-} -}
import Distribution.Simple import Distribution.Simple
import Distribution.Simple.Setup (CopyFlags(..), fromFlag) import Distribution.Simple.PreProcess
import Distribution.PackageDescription (PackageDescription(..)) import Distribution.Simple.Setup (ConfigFlags(..), CopyFlags(..), fromFlag)
import Distribution.PackageDescription (PackageDescription(..), FlagName(..))
import System.Exit
import Distribution.Simple.Utils (notice, installOrdinaryFiles) import Distribution.Simple.Utils (notice, installOrdinaryFiles)
import Distribution.Simple.Program (simpleProgram, Program(..))
import Distribution.Simple.LocalBuildInfo import Distribution.Simple.LocalBuildInfo
import Control.Monad (when)
main :: IO () main :: IO ()
main = defaultMainWithHooks $ simpleUserHooks { main = defaultMainWithHooks $ simpleUserHooks {