diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2018-05-31 23:53:11 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-06-17 00:37:54 +0200 |
commit | 173b9acc2b05e36615fa9dd9398ff21c3ae52419 (patch) | |
tree | a08d2b47295774ab36c29217a2133143cc0e9ae3 | |
parent | 7fc3b9d468a4a2997a7fed63e378567f2ef3a401 (diff) |
Drop GHC <=7.6 support
-rw-r--r-- | cabal-helper.cabal | 53 |
1 files changed, 22 insertions, 31 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal index 13b6cd9..32e26dc 100644 --- a/cabal-helper.cabal +++ b/cabal-helper.cabal @@ -96,23 +96,18 @@ library ghc-options: -Wall - build-depends: base < 5 && >= 4.5 - if os(windows) - build-depends: base >= 4.7 - build-depends: Cabal < 2.3 && >= 2.0 || < 1.26 && >= 1.14 - , directory < 1.4 && >= 1.1.0.2 - , filepath < 1.5 && >= 1.3.0.0 - , transformers < 0.6 && >= 0.3.0.0 - , mtl < 2.3 && >= 2.0 - , process < 1.7 && >= 1.1.0.1 + build-depends: base < 5 && >= 4.7 + build-depends: Cabal < 2.3 && >= 2.0 || < 1.26 && >= 1.14 + , directory < 1.4 && >= 1.2.1.0 + , filepath < 1.5 && >= 1.3.0.0 + , transformers < 0.6 && >= 0.3.0.0 + , mtl < 2.3 && >= 2.0 + , process < 1.7 && >= 1.1.0.1 if !os(windows) - build-depends: unix < 2.8 && >= 2.5.1.1 - build-depends: unix-compat < 0.6 && >= 0.4.3.1 - , semigroupoids < 5.3 && >= 5.2 - , ghc-prim + build-depends: unix < 2.8 && >= 2.5.1.1 + build-depends: unix-compat < 0.6 && >= 0.4.3.1 + , semigroupoids < 5.3 && >= 5.2 --- [Note ghc-prim] --- Exports GHC.Generics in GHC-7.4 executable cabal-helper-wrapper @@ -139,12 +134,12 @@ executable cabal-helper-wrapper CabalHelper.Shared.Sandbox Paths_cabal_helper build-tool-depends: cabal-install:cabal - build-depends: base < 5 && >= 4.5 + build-depends: base < 5 && >= 4.7 if os(windows) build-depends: base >= 4.7 build-depends: Cabal < 2.3 && >= 2.0 || < 1.26 && >= 1.14 , bytestring < 0.11 && >= 0.9.2.1 - , directory < 1.4 && >= 1.1.0.2 + , directory < 1.4 && >= 1.2.1.0 , filepath < 1.5 && >= 1.3.0.0 , mtl < 2.3 && >= 2.0 , process < 1.7 && >= 1.1.0.1 @@ -155,7 +150,6 @@ executable cabal-helper-wrapper build-depends: unix < 2.8 && >= 2.5.1.1 build-depends: unix-compat < 0.6 && >= 0.4.3.1 , utf8-string < 1.1 && >= 1.0.1.1 - , ghc-prim build-tools: cabal @@ -184,12 +178,12 @@ test-suite compile-test CabalHelper.Shared.Sandbox Paths_cabal_helper build-tool-depends: cabal-install:cabal - build-depends: base < 5 && >= 4.5 + build-depends: base < 5 && >= 4.7 if os(windows) build-depends: base >= 4.7 build-depends: Cabal < 2.3 && >= 2.0 || < 1.26 && >= 1.14 , bytestring < 0.11 && >= 0.9.2.1 - , directory < 1.4 && >= 1.1.0.2 + , directory < 1.4 && >= 1.2.1.0 , filepath < 1.5 && >= 1.3.0.0 , mtl < 2.3 && >= 2.0 , process < 1.7 && >= 1.1.0.1 @@ -200,7 +194,6 @@ test-suite compile-test build-depends: unix < 2.8 && >= 2.5.1.1 build-depends: unix-compat < 0.6 && >= 0.4.3.1 , utf8-string < 1.1 && >= 1.0.1.1 - , ghc-prim build-tools: cabal @@ -209,8 +202,8 @@ test-suite ghc-session main-is: GhcSession.hs hs-source-dirs: tests ghc-options: -Wall - build-depends: base < 5 && >= 4.5 - , ghc < 8.5 && >= 7.4 + build-depends: base < 5 && >= 4.7 + , ghc < 8.5 && >= 7.8 , ghc-paths < 0.2 && >= 0.1.0.9 , cabal-helper @@ -232,12 +225,12 @@ test-suite ghc-session CabalHelper.Shared.Sandbox Paths_cabal_helper build-tool-depends: cabal-install:cabal - build-depends: base < 5 && >= 4.5 + build-depends: base < 5 && >= 4.7 if os(windows) build-depends: base >= 4.7 build-depends: Cabal < 2.3 && >= 2.0 || < 1.26 && >= 1.14 , bytestring < 0.11 && >= 0.9.2.1 - , directory < 1.4 && >= 1.1.0.2 + , directory < 1.4 && >= 1.2.1.0 , filepath < 1.5 && >= 1.3.0.0 , mtl < 2.3 && >= 2.0 , process < 1.7 && >= 1.1.0.1 @@ -248,7 +241,6 @@ test-suite ghc-session build-depends: unix < 2.8 && >= 2.5.1.1 build-depends: unix-compat < 0.6 && >= 0.4.3.1 , utf8-string < 1.1 && >= 1.0.1.1 - , ghc-prim build-tools: cabal @@ -262,17 +254,16 @@ 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) + -- This component is usually built at runtime by cabal-helper-wrapper but + -- during development it's convinient to build it via cabal + if flag(dev) 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 + build-depends: base < 5 && >= 4.7 , Cabal , containers , bytestring |