haskell / pretty

Haskell Pretty-printer library
Other
69 stars 30 forks source link

Fails to compile with GHC 7.0.4 and GHC 7.2.2 since 1.1.2.0 #18

Closed hvr closed 9 years ago

hvr commented 9 years ago

Here's the build-errors that resulted:

for GHC 7.0

cabal: The package pretty-1.1.2.1 requires the following language extensions
 which are not supported by ghc-7.0.4: DeriveGeneric
 cabal: Error: some packages failed to install:
 pretty-1.1.2.1 failed during the configure step.

and for GHC 7.2

 src/Text/PrettyPrint/HughesPJ.hs:78:1:
     deepseq-1.4.0.0:Control.DeepSeq can't be safely imported! The module itself isn't safe.
 cabal: Error: some packages failed to install:
 pretty-1.1.1.3 failed during the building phase. 

This breaks build-plans for GHC 7.0 and GHC 7.2; the easiest way to fix this would be to add a base >= 4.5 constraint to future releases (I've alrady fixed up the meta-data on Hackage for the past two releases) and effectively drop support for those GHCs.

dterei commented 9 years ago

Thanks! Fixed.