Problem building with latest aeson (0.7.0.0) #20

Closed
magthe opened this Issue Jan 15, 2014 · 2 comments

2 participants

@magthe

I strongly suspect, but am not 100% sure, that this issue is due attempting to build buildwrapper against the latest version of aeson:

[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))
@JPMoresmau
Owner

This is a duplicate of #19 (but the title is misleading). Yes, you are perfectly right, aeson has changed the type of parameters to Number. The current source is ok, or you can force using aeson 0.6.

@magthe

Indeed, I picked up the changeset from the repo and will use that until a new release of buildwrapper appears on hackage. Thanks for the help.

@magthe magthe closed this Jan 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment