Setup.hs - removed some unneeded imports.
This commit is contained in:
parent
630e79fbf0
commit
13ff73bc70
1 changed files with 1 additions and 5 deletions
6
Setup.hs
6
Setup.hs
|
@ -18,18 +18,14 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
import Distribution.Simple
|
import Distribution.Simple
|
||||||
import Distribution.Simple.PreProcess
|
import Distribution.Simple.PreProcess
|
||||||
import Distribution.Simple.Setup (ConfigFlags(..))
|
import Distribution.Simple.Setup (ConfigFlags(..), CopyFlags(..), fromFlag)
|
||||||
import Distribution.PackageDescription (PackageDescription(..), FlagName(..))
|
import Distribution.PackageDescription (PackageDescription(..), FlagName(..))
|
||||||
import Distribution.Simple.Utils ( rawSystemExitCode, findProgramVersion )
|
import Distribution.Simple.Utils ( rawSystemExitCode, findProgramVersion )
|
||||||
import System.Exit
|
import System.Exit
|
||||||
import Distribution.Verbosity ( Verbosity )
|
|
||||||
import Distribution.Simple.Utils (info, notice, installOrdinaryFiles)
|
import Distribution.Simple.Utils (info, notice, installOrdinaryFiles)
|
||||||
import Distribution.Simple.Setup
|
|
||||||
import Distribution.Simple.Program (simpleProgram, Program(..))
|
import Distribution.Simple.Program (simpleProgram, Program(..))
|
||||||
import Distribution.Simple.LocalBuildInfo
|
import Distribution.Simple.LocalBuildInfo
|
||||||
import Data.Version
|
|
||||||
import Control.Monad (when)
|
import Control.Monad (when)
|
||||||
import qualified Control.Exception as E
|
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = defaultMainWithHooks $ simpleUserHooks {
|
main = defaultMainWithHooks $ simpleUserHooks {
|
||||||
|
|
Loading…
Reference in a new issue