Fix Hadrian after Cabal changes (#498)
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Wed, 7 Feb 2018 02:50:26 +0000 (02:50 +0000)
committerGitHub <noreply@github.com>
Wed, 7 Feb 2018 02:50:26 +0000 (02:50 +0000)
* Fix Hadrian after Cabal changes

* Bump Cabal's lower bound

hadrian.cabal
src/Hadrian/Haskell/Cabal/Parse.hs

index efc1251..0405601 100644 (file)
@@ -118,7 +118,7 @@ executable hadrian
     other-extensions:    MultiParamTypeClasses
                        , TypeFamilies
     build-depends:       base                 >= 4.8     && < 5
-                       , Cabal                >= 2.0.0.2 && < 2.2
+                       , Cabal                >= 2.1.0.0 && < 2.2
                        , containers           == 0.5.*
                        , directory            >= 1.2     && < 1.4
                        , extra                >= 1.4.7
index 578eeac..f097b62 100644 (file)
@@ -13,12 +13,12 @@ module Hadrian.Haskell.Cabal.Parse (Cabal (..), parseCabal) where
 import Data.List.Extra
 import Development.Shake
 import Development.Shake.Classes
-import qualified Distribution.Package                  as C
-import qualified Distribution.PackageDescription       as C
-import qualified Distribution.PackageDescription.Parse as C
-import qualified Distribution.Text                     as C
-import qualified Distribution.Types.CondTree           as C
-import qualified Distribution.Verbosity                as C
+import qualified Distribution.Package                   as C
+import qualified Distribution.PackageDescription        as C
+import qualified Distribution.PackageDescription.Parsec as C
+import qualified Distribution.Text                      as C
+import qualified Distribution.Types.CondTree            as C
+import qualified Distribution.Verbosity                 as C
 
 import Hadrian.Package