Please describe the problem.
Got the report in the past days that failed to build across all platforms. Looked today:
[274 of 679] Compiling CmdLine.Usage ( CmdLine/Usage.hs, dist/build/git-annex/git-annex-tmp/CmdLine/Usage.o )
CmdLine/Usage.hs:63:1: error:
Duplicate type signatures for `paramRemote'
at CmdLine/Usage.hs:61:1-11
CmdLine/Usage.hs:63:1-11
|
63 | paramRemote :: String
| ^^^^^^^^^^^
CmdLine/Usage.hs:64:1: error:
Multiple declarations of `paramRemote'
Declared at: CmdLine/Usage.hs:62:1
CmdLine/Usage.hs:64:1
|
64 | paramRemote = "REPOSITORY"
| ^^^^^^^^^^^
on Debian, didn't check if other systems are anyhow different, will bounce report with pointers just in case.
That seems to be a simple typo where the latter/duplicate definition should be named
paramRepository
instead. The following fixes the build:Windows tests are A-OK also.
You're welcome, Yarik! I try to do my part for git-annex although for medical reasons my personal bandwidth is a bit limited (for instance, I don't pretend to grok Haskell much at all except at a general functional programming level and I have even trouble with some of the intricacies of git, too). However, I felt your last sentence was a small hint/suggestion, so with a small leap of faith I made my first contribution to an outside project in the form of a pull request to datalad/git-annex, here .