nmattia / niv

Easy dependency management for Nix projects
https://github.com/nmattia/niv
MIT License
1.52k stars 74 forks source link

niv is incompatible with newest optparse-applicative #312

Closed maralorn closed 3 years ago

maralorn commented 3 years ago

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

nmattia commented 3 years ago

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