You might need to change the code too, I haven't tried that on json myself.
I'd also recommend to
remove split-base flag, it serves no purpose anymore. Ditto generic
Also it's recommended to specify manual: True or manual: False explicitly for flags. The default is automatic, so cabal solver could on its will disable pretty and parsec, even the intended default is to have them.
The
Control.Monad.Fail
is only inbase
since base-4.9. FixesAlternatively you could add a (conditional) dependency on
fail
You might need to change the code too, I haven't tried that on
json
myself.I'd also recommend to
split-base
flag, it serves no purpose anymore. Dittogeneric
manual: True
ormanual: False
explicitly for flags. The default is automatic, socabal
solver could on its will disablepretty
andparsec
, even the intended default is to have them.I made a revision to released version on Hackage: https://hackage.haskell.org/package/json-0.10/revisions/ so the
json-0.10
has now correct metadata.