prowdsponsor / mangopay

Haskell bindings for the MangoPay payment provider API.
http://hackage.haskell.org/package/mangopay
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Build failure with aeson 0.10 #31

Closed bergmark closed 8 years ago

bergmark commented 8 years ago
src/Web/MangoPay/Types.hs:158:10:
    Duplicate instance declarations:
      instance FromJSON POSIXTime
        -- Defined at src/Web/MangoPay/Types.hs:158:10
      instance [incoherent] FromJSON
                              time-1.5.0.1:Data.Time.Clock.UTC.NominalDiffTime
        -- Defined in ‘aeson-0.10.0.0:Data.Aeson.Types.Instances’

src/Web/MangoPay/Types.hs:163:10:
    Duplicate instance declarations:
      instance ToJSON POSIXTime
        -- Defined at src/Web/MangoPay/Types.hs:163:10
      instance [incoherent] ToJSON
                              time-1.5.0.1:Data.Time.Clock.UTC.NominalDiffTime
        -- Defined in ‘aeson-0.10.0.0:Data.Aeson.Types.Instances’

Also see http://matrix.hackage.haskell.org/package/mangopay#GHC-7.10/mangopay-1.11.5

Ping @meteficha: Stackage just upgraded to aeson-0.10 which means I need to disable mangopay for now. Please send a pull request to re-enable it when this is fixed. If this happens before new years mangopay will make it into LTS 4.

meteficha commented 8 years ago

Should be fixed by mangopay-1.12 and yesod-mangopay-1.12. Thanks!