From c716e4bda462b130f7acba9e1b4166183e191aaa Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Sat, 14 Apr 2018 10:40:07 +0300 Subject: [PATCH] Add some lower-bounds - semigroups is only needed with older GHC, but then we need a recent one, to have a Semigroup Builder instance - time >= 1.1.4, because of fromGregorianValid --- postgresql-simple.cabal | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/postgresql-simple.cabal b/postgresql-simple.cabal index 61c39c8d..a4c84fdd 100644 --- a/postgresql-simple.cabal +++ b/postgresql-simple.cabal @@ -69,13 +69,16 @@ Library postgresql-libpq >= 0.9 && < 0.10, template-haskell, text >= 0.11.1, - time, + time >= 1.1.4, transformers, uuid-types >= 1.0.0, scientific, - semigroups, vector + if !impl(ghc >= 8.0) + Build-depends: + semigroups >=0.18.2 + if !impl(ghc >= 7.6) Build-depends: ghc-prim