JPMoresmau / BuildWrapper

Utility to manage haskell projects for an IDE
Other
36 stars 11 forks source link

buildwrapper-0.7.7 failed due to breaking change in aeson #21

Closed PaulJohnson closed 10 years ago

PaulJohnson commented 10 years ago

I got the attached errors when building buildwrapper-0.7.7. A bit of digging found a breaking change in aeson-0.7, which has substituted Scientific for Number in the Value type.

Temporary workaround is to add "&& <0.7" to the aeson dependency in the cabal file.

[2 of 7] Compiling Language.Haskell.BuildWrapper.GHCStorage ( src/Language/Haskell/BuildWrapper/GHCStorage.hs, dist/build/Language/Haskell/BuildWrapper/GHCStorage.o )

src/Language/Haskell/BuildWrapper/GHCStorage.hs:542:22: Couldn't match expected type scientific-0.2.0.1:Data.Scientific.Scientific' with actual typeNumber' In the pattern: I l In the pattern: Number (I l) In the pattern: Just (Number (I l))

src/Language/Haskell/BuildWrapper/GHCStorage.hs:543:22: Couldn't match expected type scientific-0.2.0.1:Data.Scientific.Scientific' with actual typeNumber' In the pattern: I c In the pattern: Number (I c) In the pattern: Just (Number (I c)) Failed to install buildwrapper-0.7.7

JPMoresmau commented 10 years ago

Duplicate of #19 and #20