The .cabal file declares postgresql-simple to be compatible with base-4.4/base-4.5; this, however, doesn't seem to be the case (see below).
Please either restore compatibility or set a tigher lower bound in future releases, i.e. base >= 4.6
(I've already revised the .cabal file on Hackage as this was caused transitive failures for other packages depending on postgresql-simple: https://hackage.haskell.org/package/postgresql-simple-0.5.2.0/revisions/)
With base-4.4:
[17 of 34] Compiling Database.PostgreSQL.Simple.ToField ( src/Database/PostgreSQL/Simple/ToField.hs, dist/dist-sandbox-9379669b/build/Database/PostgreSQL/Simple/ToField.o )
src/Database/PostgreSQL/Simple/ToField.hs:174:33:
Not in scope: data constructor `CUInt'
xcabal: Error: some packages failed to install:
postgresql-simple-0.5.2.0 failed during the building phase. The exception was:
ExitFailure 1
with base-4.5:
[21 of 34] Compiling Database.PostgreSQL.Simple.Notification ( src/Database/PostgreSQL/Simple/Notification.hs, dist/dist-sandbox-fe5a1570/build/Database/PostgreSQL/Simple/Notification.o )
src/Database/PostgreSQL/Simple/Notification.hs:110:39:
Ambiguous occurrence `catch'
It could refer to either `Prelude.catch',
imported from `Prelude' at src/Database/PostgreSQL/Simple/Notification.hs:32:8-46
(and originally defined in `System.IO.Error')
or `Control.Exception.catch',
imported from `Control.Exception' at src/Database/PostgreSQL/Simple/Notification.hs:40:47-51
(and originally defined in `Control.Exception.Base')
xcabal: Error: some packages failed to install:
postgresql-simple-0.5.2.0 failed during the building phase. The exception was:
ExitFailure 1
The
.cabal
file declarespostgresql-simple
to be compatible withbase-4.4
/base-4.5
; this, however, doesn't seem to be the case (see below).Please either restore compatibility or set a tigher lower bound in future releases, i.e.
base >= 4.6
(I've already revised the.cabal
file on Hackage as this was caused transitive failures for other packages depending onpostgresql-simple
: https://hackage.haskell.org/package/postgresql-simple-0.5.2.0/revisions/)With
base-4.4
:with
base-4.5
: