diagrams-lib does not build with the new version optparse-applicative-0.16.*.
src/Diagrams/Backend/CmdLine.hs:223:23: error:
• Couldn't match expected type ‘ParseError’
with actual type ‘Maybe String -> ParseError’
• Probable cause: ‘ShowHelpText’ is applied to too few arguments
In the first argument of ‘abortOption’, namely ‘ShowHelpText’
In the expression: abortOption ShowHelpText
In the expression:
abortOption ShowHelpText
$ mconcat [long "help", short '?', help "Show this help text"]
|
223 | helper' = abortOption ShowHelpText $ mconcat
| ^^^^^^^^^^^^
cabal: Failed to build diagrams-lib-1.4.3
diagrams-lib
does not build with the new versionoptparse-applicative-0.16.*
.