-
Notifications
You must be signed in to change notification settings - Fork 711
Help text wrongly states that the default --builddir
is dist
#7924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is indeed embarrassing. If you grep the code, you will notice that the help message comes from cabal/Cabal/src/Distribution/Simple/Setup.hs Lines 2159 to 2171 in b6d0516
defaultDistPref is defined in the same file).
I think that the underlying reason is the same as why there is
etc parameters in TL;DR, this is IMO a symptom of v2 commands not having sane, independent cli-argument implementation. There are plenty of such small annoyances. I guess the symptoms could be fixed one-by-one: in this case parameterize |
This is not oneline change, multiple files, in separate packages have to be changed. (This shouldn't be that hard, but that is a consequence of a hard underlying problem I mention: there is a sizable technical debt). |
Help text for
cabal install
still claims that the default--builddir
isdist
(rather thandist-newstyle
).The text was updated successfully, but these errors were encountered: