[commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: Fixed Cabal-induced breakage, once again... (635d902)

git at git.haskell.org git at git.haskell.org
Fri Apr 21 16:49:15 UTC 2017


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

On branches: format-widths,ghc,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/635d902b2a9ddcece575ae4b2873f793201e5684

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

commit 635d902b2a9ddcece575ae4b2873f793201e5684
Author: sven.panne <sven.panne at aedion.de>
Date:   Sat Sep 8 09:02:56 2007 -0700

    Fixed Cabal-induced breakage, once again...
    
    MERGE TO STABLE (if we have a concept of "stable libraries")
    
    darcs-hash:20070908160256-96103-c5c21e89632939ac5896cf44abc9aa381df7ed4e


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

635d902b2a9ddcece575ae4b2873f793201e5684
 Setup.hs | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Setup.hs b/Setup.hs
index d57f1c9..1863d6e 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -2,13 +2,11 @@ module Main (main) where
 
 import Control.Exception
 import Distribution.PackageDescription
-import Distribution.Setup
 import Distribution.Simple
 import Distribution.Simple.LocalBuildInfo
 import Distribution.Simple.Utils
 import System.Cmd
 import System.Directory
-import System.Info
 
 main :: IO ()
 main = do let hooks = defaultUserHooks { runTests = runTestScript }
@@ -23,6 +21,3 @@ withCurrentDirectory path f = do
 runTestScript :: Args -> Bool -> PackageDescription -> LocalBuildInfo -> IO ()
 runTestScript _args _flag _pd _lbi
  = maybeExit $ withCurrentDirectory "test" $ system "make"
-
-type ConfHook = PackageDescription -> ConfigFlags -> IO LocalBuildInfo
-



More information about the ghc-commits mailing list