[commit: ghc] master, wip/rejig-stages: Hadrian: remove unneeded imports. (d10e236)

git at git.haskell.org git at git.haskell.org
Fri Mar 15 19:06:28 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branches: master,wip/rejig-stages
Link       : http://ghc.haskell.org/trac/ghc/changeset/d10e23687d166ea6656fe0caf9c6eb2642a61b7b/ghc

>---------------------------------------------------------------

commit d10e23687d166ea6656fe0caf9c6eb2642a61b7b
Author: David Eichmann <EichmannD at gmail.com>
Date:   Tue Mar 12 12:00:18 2019 +0000

    Hadrian: remove unneeded imports.


>---------------------------------------------------------------

d10e23687d166ea6656fe0caf9c6eb2642a61b7b
 hadrian/src/Rules/Library.hs             | 3 ---
 hadrian/src/Settings/Builders/Ghc.hs     | 1 -
 hadrian/src/Settings/Builders/RunTest.hs | 2 --
 3 files changed, 6 deletions(-)

diff --git a/hadrian/src/Rules/Library.hs b/hadrian/src/Rules/Library.hs
index edec160..f0ec50b 100644
--- a/hadrian/src/Rules/Library.hs
+++ b/hadrian/src/Rules/Library.hs
@@ -3,18 +3,15 @@ module Rules.Library (libraryRules) where
 import Hadrian.BuildPath
 import Hadrian.Haskell.Cabal
 import Hadrian.Haskell.Cabal.Type
-import qualified System.Directory as IO
 import qualified Text.Parsec      as Parsec
 
 import Base
 import Context
 import Expression hiding (way, package)
-import Flavour
 import Oracles.ModuleFiles
 import Packages
 import Rules.Gmp
 import Rules.Libffi (libffiDependencies)
-import Settings
 import Target
 import Utilities
 
diff --git a/hadrian/src/Settings/Builders/Ghc.hs b/hadrian/src/Settings/Builders/Ghc.hs
index 940eab5..76c44ef 100644
--- a/hadrian/src/Settings/Builders/Ghc.hs
+++ b/hadrian/src/Settings/Builders/Ghc.hs
@@ -3,7 +3,6 @@ module Settings.Builders.Ghc (ghcBuilderArgs, haddockGhcArgs) where
 import Hadrian.Haskell.Cabal
 import Hadrian.Haskell.Cabal.Type
 
-import Flavour
 import Packages
 import Settings.Builders.Common
 import Settings.Warnings
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs
index ae85cf5..837e688 100644
--- a/hadrian/src/Settings/Builders/RunTest.hs
+++ b/hadrian/src/Settings/Builders/RunTest.hs
@@ -4,8 +4,6 @@ import Hadrian.Utilities
 import System.Environment
 
 import CommandLine
-import Flavour
-import Oracles.Setting (setting)
 import Oracles.TestSettings
 import Packages
 import Settings.Builders.Common



More information about the ghc-commits mailing list