From 9142d8a9e6ed18faf17a360521fbbbd25f6a3b47 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sun, 12 Aug 2018 04:45:34 +0200 Subject: Add initial new-build (v2-build) support to wrapper --- cabal-helper.cabal | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'cabal-helper.cabal') diff --git a/cabal-helper.cabal b/cabal-helper.cabal index f3261f4..4622134 100644 --- a/cabal-helper.cabal +++ b/cabal-helper.cabal @@ -1,5 +1,5 @@ name: cabal-helper -version: 0.8.1.0 +version: 1.0.0.0 synopsis: Simple interface to some of Cabal's configuration state, mainly used by ghc-mod description: @@ -97,7 +97,7 @@ library ghc-options: -Wall build-depends: base < 5 && >= 4.7 - build-depends: Cabal < 2.3 && >= 2.0 || < 1.26 && >= 1.14 + build-depends: Cabal < 2.5 && >= 2.0 || < 1.26 && >= 1.14 , cabal-plan < 0.4 && >= 0.3.0.0 , containers < 1 && >= 0.5.5.1 , directory < 1.4 && >= 1.2.1.0 @@ -139,12 +139,16 @@ executable cabal-helper-wrapper 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 + build-depends: Cabal < 2.5 && >= 2.0 || < 1.26 && >= 1.14 + , cabal-plan < 0.4 && >= 0.3.0.0 + , containers < 1 && >= 0.5.5.1 , bytestring < 0.11 && >= 0.9.2.1 , 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 + , pretty-show < 1.9 && >= 1.8.1 + , text < 1.3 && >= 1.0.0.0 , template-haskell < 2.14 && >= 2.7.0.0 , temporary < 1.3 && >= 1.2.1 , transformers < 0.6 && >= 0.3.0.0 @@ -183,12 +187,16 @@ test-suite compile-test 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 + build-depends: Cabal < 2.5 && >= 2.0 || < 1.26 && >= 1.14 + , cabal-plan < 0.4 && >= 0.3.0.0 + , containers < 1 && >= 0.5.5.1 , bytestring < 0.11 && >= 0.9.2.1 , 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 + , pretty-show < 1.9 && >= 1.8.1 + , text < 1.3 && >= 1.0.0.0 , template-haskell < 2.14 && >= 2.7.0.0 , temporary < 1.3 && >= 1.2.1 , transformers < 0.6 && >= 0.3.0.0 @@ -230,12 +238,16 @@ test-suite ghc-session 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 + build-depends: Cabal < 2.5 && >= 2.0 || < 1.26 && >= 1.14 + , cabal-plan < 0.4 && >= 0.3.0.0 + , containers < 1 && >= 0.5.5.1 , bytestring < 0.11 && >= 0.9.2.1 , 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 + , pretty-show < 1.9 && >= 1.8.1 + , text < 1.3 && >= 1.0.0.0 , template-haskell < 2.14 && >= 2.7.0.0 , temporary < 1.3 && >= 1.2.1 , transformers < 0.6 && >= 0.3.0.0 -- cgit v1.2.3