From a34f9a24be9171399d347452b217848d887c75b0 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Wed, 8 Jan 2014 12:01:10 +0900 Subject: [PATCH] workaround for the next HP. --- ghc-mod.cabal | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ghc-mod.cabal b/ghc-mod.cabal index 51cdaa8..d0e7958 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -62,7 +62,6 @@ Library Language.Haskell.GhcMod.List Language.Haskell.GhcMod.Types Build-Depends: base >= 4.0 && < 5 - , Cabal >= 1.10 , containers , directory , filepath @@ -78,6 +77,9 @@ Library , transformers if impl(ghc < 7.7) Build-Depends: convertible + , Cabal >= 1.10 && < 1.17 + else + Build-Depends: Cabal >= 1.18 Executable ghc-mod Default-Language: Haskell2010 @@ -116,7 +118,6 @@ Test-Suite spec LintSpec ListSpec Build-Depends: base >= 4.0 && < 5 - , Cabal >= 1.10 , containers , directory , filepath @@ -133,6 +134,9 @@ Test-Suite spec , hspec >= 1.7.1 if impl(ghc < 7.7) Build-Depends: convertible + , Cabal >= 1.10 && < 1.17 + else + Build-Depends: Cabal >= 1.18 if impl(ghc < 7.6.0) Build-Depends: executable-path