bartavelle / language-puppet

A library to work with Puppet manifests, test them and eventually replace everything ruby.
BSD 3-Clause "New" or "Revised" License
51 stars 8 forks source link

language-puppet-1.3.18 build failure with ghc 8.4 #249

Closed DanBurton closed 6 years ago

DanBurton commented 6 years ago

Add semigroup instances See also: https://ghc.haskell.org/trac/ghc/wiki/Migration/8.4#SemigroupMonoidsuperclasses

Build failure as seen on the Stackage build server:

[ 2 of 56] Compiling XPrelude.PP      ( src/XPrelude/PP.hs, dist/build/XPrelude/PP.o )

src/XPrelude/PP.hs:32:10: error:
    • No instance for (Semigroup PrettyError)
        arising from the superclasses of an instance declaration
    • In the instance declaration for ‘Monoid PrettyError’
   |
32 | instance Monoid PrettyError where
   |          ^^^^^^^^^^^^^^^^^^
bartavelle commented 6 years ago

I just pushed v1.3.18.1 which should fix those problems. Thanks!