hedgehog 1.0.2 seems to have made a breaking change:
Preprocessing library for hedgehog-classes-0.2.4..
Building library for hedgehog-classes-0.2.4..
[ 1 of 43] Compiling Hedgehog.Classes.Common.Bottom ( src/Hedgehog/Classes/Common/Bottom.hs, dist/build/Hedgehog/Classes/Common/Bottom.o )
[ 2 of 43] Compiling Hedgehog.Classes.Common.Compat ( src/Hedgehog/Classes/Common/Compat.hs, dist/build/Hedgehog/Classes/Common/Compat.o )
[ 3 of 43] Compiling Hedgehog.Classes.Common.Func ( src/Hedgehog/Classes/Common/Func.hs, dist/build/Hedgehog/Classes/Common/Func.o )
[ 4 of 43] Compiling Hedgehog.Classes.Common.ApTrans ( src/Hedgehog/Classes/Common/ApTrans.hs, dist/build/Hedgehog/Classes/Common/ApTrans.o )
[ 5 of 43] Compiling Hedgehog.Classes.Common.Gen ( src/Hedgehog/Classes/Common/Gen.hs, dist/build/Hedgehog/Classes/Common/Gen.o )
[ 6 of 43] Compiling Hedgehog.Classes.Common.Equation ( src/Hedgehog/Classes/Common/Equation.hs, dist/build/Hedgehog/Classes/Common/Equation.o )
[ 7 of 43] Compiling Hedgehog.Classes.Common.IO ( src/Hedgehog/Classes/Common/IO.hs, dist/build/Hedgehog/Classes/Common/IO.o )
[ 8 of 43] Compiling Hedgehog.Classes.Common.PP ( src/Hedgehog/Classes/Common/PP.hs, dist/build/Hedgehog/Classes/Common/PP.o )
src/Hedgehog/Classes/Common/PP.hs:26:28: error:
• Couldn't match expected type ‘Hedgehog.Internal.Config.UseColor’
with actual type ‘Maybe a0’
• In the first argument of ‘renderDoc’, namely ‘Nothing’
In the first argument of ‘(=<<)’, namely ‘renderDoc Nothing’
In the expression: renderDoc Nothing =<< ppResult x
|
26 | renderResult x = renderDoc Nothing =<< ppResult x
| ^^^^^^^
builder for '/nix/store/a7dv98wrmbildjv5vx0kzcq90h2h55n3-hedgehog-classes-0.2.4.drv' failed with exit code 1
Hi, thanks for this package!
hedgehog
1.0.2 seems to have made a breaking change: