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
(PackageDescription(..), BuildInfo(..), hcOptions,
Library(..), hasLibs, withLib,
Executable(..), withExe)
import Distribution.Simple.Compiler
( Compiler(..), CompilerFlavor(..), compilerVersion
, extensionsToFlags )
import Distribution.ParseUtils (Field(..), ParseResult(..), readFields,
parseCommaList, parseFilePathQ)
import Distribution.Simple.Program(ConfiguredProgram(..), requireProgram,
......@@ -89,7 +92,6 @@ import Data.List (nub)
import System.FilePath((</>), (<.>), splitFileName, splitExtension,
replaceExtension, normalise)
import Distribution.Version
import Distribution.Simple.Compiler (compilerVersion, extensionsToFlags)
-- --------------------------------------------------------------------------
-- Haddock support
......
......@@ -42,8 +42,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -}
module Distribution.Simple.Setup (
module Distribution.Simple.Compiler,
GlobalFlags(..), emptyGlobalFlags, defaultGlobalFlags, globalCommand,
ConfigFlags(..), emptyConfigFlags, defaultConfigFlags, configureCommand,
CopyFlags(..), emptyCopyFlags, defaultCopyFlags, copyCommand,
......@@ -69,8 +67,8 @@ module Distribution.Simple.Setup (
) where
import Distribution.Simple.Command
import Distribution.Simple.Compiler (CompilerFlavor(..), Compiler(..),
defaultCompilerFlavor, PackageDB(..))
import Distribution.Simple.Compiler
( CompilerFlavor(..), defaultCompilerFlavor, PackageDB(..) )
import Distribution.Simple.Utils (wrapText)
import Distribution.Simple.Program (Program(..), ProgramConfiguration,
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