niv is incompatible with newest optparse-applicative
maralorn opened this issue · comments
maralorn commented
On nixpkgs master we currently have this build error. I will try fixing it with an override for now.
src/Niv/Cli.hs:65:41: error:
• Couldn't match expected type ‘Opts.ParseError’
with actual type ‘Maybe String -> Opts.ParseError’
• Probable cause: ‘Opts.ShowHelpText’ is applied to too few arguments
In the third argument of ‘Opts.parserFailure’, namely
‘Opts.ShowHelpText’
In the second argument of ‘($)’, namely
‘Opts.parserFailure pprefs pinfo Opts.ShowHelpText mempty’
In the expression:
Opts.Failure
$ Opts.parserFailure pprefs pinfo Opts.ShowHelpText mempty
|
65 | Opts.parserFailure pprefs pinfo Opts.ShowHelpText mempty
| ^^^^^^^^^^^^^^^^^
Nicolas Mattia commented
I think this was fixed. Feel free to re-open if that's not the case!