From 5f5af7688c904ea1a8858a8222c23e6c072be525 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Mon, 2 Dec 2019 13:37:19 +0100 Subject: [PATCH 1/2] 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 60047cf..59d8aa8 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 From 6bb387ff245bcdd71d4a664c3849af0dff6938dd Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Mon, 2 Dec 2019 23:28:50 +0900 Subject: [PATCH 2/2] Update changelog. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35ced18..4cac786 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ output of `show`. Implemented in [54](https://github.com/cdepillabout/pretty-simple/pull/54). Thanks [sureyeaah](https://github.com/sureyeaah)! +* Fix build on GHC-7.10.3. + [#55](https://github.com/cdepillabout/pretty-simple/pull/55). Thanks + [sjakobi](https://github.com/sjakobi). ## 3.1.0.0