yesodweb / yesod

A RESTful Haskell web framework built on WAI.
http://www.yesodweb.com/
MIT License
2.63k stars 371 forks source link

Fails to compile with latest `optparse-applicative` - breaking change in `CmdReader` #1804

Closed alaendle closed 7 months ago

alaendle commented 1 year ago

Fails to compile with latest optparse-applicative - breaking change in CmdReader - see also

https://hackage.haskell.org/package/optparse-applicative-0.18.1.0/changelog

/var/stackage/work/unpack-dir/unpacked/yesod-bin-1.6.2.2-b6069f90a4b416ff85b563ba400c961822b127f21dfe39a50edb2160ccfd3532/Options.hs:70:14: error:
           • The constructor ‘CmdReader’ should have 2 arguments, but has been given 3
           • In the pattern: CmdReader _ cmds f
             In the pattern: Option (CmdReader _ cmds f) props
             In a stmt of a pattern guard for
                            an equation for ‘injectDefaultP’:
               (Option (CmdReader _ cmds f) props) <- o
          |
       70 |   | (Option (CmdReader _ cmds f) props) <- o  =
          |              ^^^^^^^^^^^^^^^^^^
alaendle commented 7 months ago

Thanks!