From 07e461ff82b2226d26cdb59de2d6dbcff9e645a8 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Fri, 25 Jul 2014 13:34:20 +0900 Subject: [PATCH] cleaning up conditions. --- ghc-mod.cabal | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ghc-mod.cabal b/ghc-mod.cabal index f09f10e..9c7accb 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -107,11 +107,11 @@ Library , split , haskell-src-exts , text - if impl(ghc < 7.7) + if impl(ghc >= 7.8) + Build-Depends: Cabal >= 1.18 + else Build-Depends: convertible , Cabal >= 1.10 && < 1.17 - else - Build-Depends: Cabal >= 1.18 Executable ghc-mod Default-Language: Haskell2010 @@ -191,12 +191,12 @@ Test-Suite spec , split , haskell-src-exts , text - if impl(ghc < 7.7) + if impl(ghc >= 7.8) + Build-Depends: Cabal >= 1.18 + else Build-Depends: convertible , Cabal >= 1.10 && < 1.17 - else - Build-Depends: Cabal >= 1.18 - if impl(ghc < 7.6.0) + if impl(ghc < 7.6) Build-Depends: executable-path CPP-Options: -DSPEC=1