From e8e54925bd5597ec95154be2db079036b0213245 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Wed, 4 Sep 2019 12:15:22 +1000 Subject: [PATCH 1/2] Make it build with ghc 8.8 and cabal 3.0 --- postgresql-libpq.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgresql-libpq.cabal b/postgresql-libpq.cabal index e1fe2e5..7d8eba1 100644 --- a/postgresql-libpq.cabal +++ b/postgresql-libpq.cabal @@ -37,7 +37,7 @@ extra-source-files: Custom-setup setup-depends: - base >= 4.3 && <5, Cabal >= 1.10 && <2.5 + base >= 4.3 && <5, Cabal >= 1.10 && <3.1 -- If true, use pkg-config, otherwise use the pg_config based build -- configuration @@ -51,7 +51,7 @@ Library include-dirs: cbits Exposed-modules: Database.PostgreSQL.LibPQ Database.PostgreSQL.LibPQ.Internal - Build-depends: base >=4.3 && <4.13 + Build-depends: base >=4.3 && <4.14 , bytestring >=0.9.1.0 && <0.11 if !os(windows) From 4134fdf7bc8b31ce377e3b410eaf8f08fe93d523 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Wed, 4 Sep 2019 12:30:40 +1000 Subject: [PATCH 2/2] travis: Build with ghc 8.8 and cabal 3.0 --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index bb0390c..005f946 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,8 +30,10 @@ before_cache: matrix: include: - - compiler: "ghc-8.6.4" - addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.4], sources: [hvr-ghc]}} + - compiler: "ghc-8.8.1" + addons: {apt: {packages: [ghc-ppa-tools,cabal-install-3.0,ghc-8.8.1], sources: [hvr-ghc]}} + - compiler: "ghc-8.6.5" + addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.6.5], sources: [hvr-ghc]}} - compiler: "ghc-8.4.4" addons: {apt: {packages: [ghc-ppa-tools,cabal-install-2.4,ghc-8.4.4], sources: [hvr-ghc]}} - compiler: "ghc-8.2.2"