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
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 type
Number' 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 type
Number' 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