Commit f1d73cac authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Don't re-export Compiler from Distribution.Simple.Setup

parent f10505fe
...@@ -52,6 +52,9 @@ import Distribution.PackageDescription ...@@ -52,6 +52,9 @@ import Distribution.PackageDescription
(PackageDescription(..), BuildInfo(..), hcOptions, (PackageDescription(..), BuildInfo(..), hcOptions,
Library(..), hasLibs, withLib, Library(..), hasLibs, withLib,
Executable(..), withExe) Executable(..), withExe)
import Distribution.Simple.Compiler
( Compiler(..), CompilerFlavor(..), compilerVersion
, extensionsToFlags )
import Distribution.ParseUtils (Field(..), ParseResult(..), readFields, import Distribution.ParseUtils (Field(..), ParseResult(..), readFields,
parseCommaList, parseFilePathQ) parseCommaList, parseFilePathQ)
import Distribution.Simple.Program(ConfiguredProgram(..), requireProgram, import Distribution.Simple.Program(ConfiguredProgram(..), requireProgram,
...@@ -89,7 +92,6 @@ import Data.List (nub) ...@@ -89,7 +92,6 @@ import Data.List (nub)
import System.FilePath((</>), (<.>), splitFileName, splitExtension, import System.FilePath((</>), (<.>), splitFileName, splitExtension,
replaceExtension, normalise) replaceExtension, normalise)
import Distribution.Version import Distribution.Version
import Distribution.Simple.Compiler (compilerVersion, extensionsToFlags)
-- -------------------------------------------------------------------------- -- --------------------------------------------------------------------------
-- Haddock support -- Haddock support
......
...@@ -42,8 +42,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -} ...@@ -42,8 +42,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -}
module Distribution.Simple.Setup ( module Distribution.Simple.Setup (
module Distribution.Simple.Compiler,
GlobalFlags(..), emptyGlobalFlags, defaultGlobalFlags, globalCommand, GlobalFlags(..), emptyGlobalFlags, defaultGlobalFlags, globalCommand,
ConfigFlags(..), emptyConfigFlags, defaultConfigFlags, configureCommand, ConfigFlags(..), emptyConfigFlags, defaultConfigFlags, configureCommand,
CopyFlags(..), emptyCopyFlags, defaultCopyFlags, copyCommand, CopyFlags(..), emptyCopyFlags, defaultCopyFlags, copyCommand,
...@@ -69,8 +67,8 @@ module Distribution.Simple.Setup ( ...@@ -69,8 +67,8 @@ module Distribution.Simple.Setup (
) where ) where
import Distribution.Simple.Command import Distribution.Simple.Command
import Distribution.Simple.Compiler (CompilerFlavor(..), Compiler(..), import Distribution.Simple.Compiler
defaultCompilerFlavor, PackageDB(..)) ( CompilerFlavor(..), defaultCompilerFlavor, PackageDB(..) )
import Distribution.Simple.Utils (wrapText) import Distribution.Simple.Utils (wrapText)
import Distribution.Simple.Program (Program(..), ProgramConfiguration, import Distribution.Simple.Program (Program(..), ProgramConfiguration,
knownPrograms) knownPrograms)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment