nmattia / niv

Easy dependency management for Nix projects

Home Page:https://github.com/nmattia/niv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

niv is incompatible with newest optparse-applicative

maralorn opened this issue · comments

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
   |                                         ^^^^^^^^^^^^^^^^^

https://hydra.nixos.org/build/139378343/nixlog/1/tail

I think this was fixed. Feel free to re-open if that's not the case!