aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cabal-helper.cabal12
1 files changed, 8 insertions, 4 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal
index 0966dbe..9ef17de 100644
--- a/cabal-helper.cabal
+++ b/cabal-helper.cabal
@@ -261,10 +261,6 @@ test-suite ghc-session
executable cabal-helper-main
default-language: Haskell2010
default-extensions: NondecreasingIndentation
- if flag(dev)
- buildable: True
- else
- buildable: False
main-is: CabalHelper/Runtime/Main.hs
hs-source-dirs: src
other-modules:
@@ -272,6 +268,14 @@ executable cabal-helper-main
CabalHelper.Shared.InterfaceTypes
CabalHelper.Shared.Sandbox
+ -- GHC 7.4 ships Cabal-1.14 which we can't compile with and since cabal can't
+ -- solve the component dependencies seperately in our case (because of too-old
+ -- cabal-install and build-type:custom) we can't build this on GHC 7.4
+ if flag(dev) && impl(ghc >= 7.6)
+ buildable: True
+ else
+ buildable: False
+
-- Common c-h-main-fields -- See [Note test dependencies]
ghc-options: -Wall -fno-warn-unused-imports
build-depends: base < 5 && >= 4.5