From 3859e36e8d59ca8a2d23f3643b4a8b10df6439a0 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Mon, 2 Dec 2019 13:37:19 +0100 Subject: [PATCH] Fix build with GHC-7.10.3 Previously I would see the following build failure: $ cabal-3.0 build -w ghc-7.10.3 Resolving dependencies... Build profile: -w ghc-7.10.3 -O1 In order, the following will be built (use -v for more details): - pretty-simple-3.1.0.0 (lib:pretty-simple) (first run) Warning: pretty-simple.cabal: Ignoring unknown section type: custom-setup Configuring pretty-simple-3.1.0.0... setup: At least the following dependencies are missing: aeson -any, bytestring -any, optparse-applicative -any https://github.com/haskell/cabal/issues/3881 seems related but I don't fully understand the issue. --- pretty-simple.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pretty-simple.cabal b/pretty-simple.cabal index ecfd38c..377aedd 100644 --- a/pretty-simple.cabal +++ b/pretty-simple.cabal @@ -17,7 +17,7 @@ cabal-version: >=1.10 custom-setup setup-depends: base - , Cabal + , Cabal >= 1.24 , cabal-doctest >=1.0.2 flag buildexe