From c37303a08ed9d8bfac31c109ba7b0f9936bc4ed4 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Tue, 19 Nov 2013 10:37:11 +0900 Subject: [PATCH] dep switch for convertible (#161). --- ghc-mod.cabal | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-mod.cabal b/ghc-mod.cabal index 6c4748a..d67d0f7 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -64,7 +64,6 @@ Library Build-Depends: base >= 4.0 && < 5 , Cabal >= 1.10 , containers - , convertible , directory , filepath , ghc @@ -77,6 +76,8 @@ Library , syb , time , transformers + if impl(ghc < 7.7) + Build-Depends: convertible Executable ghc-mod Default-Language: Haskell2010 @@ -117,7 +118,6 @@ Test-Suite spec Build-Depends: base >= 4.0 && < 5 , Cabal >= 1.10 , containers - , convertible , directory , filepath , ghc @@ -131,6 +131,8 @@ Test-Suite spec , time , transformers , hspec >= 1.7.1 + if impl(ghc < 7.7) + Build-Depends: convertible if impl(ghc < 7.6.0) Build-Depends: executable-path