Skip to content
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

cabal new-build --help says default build-dir is dist/ #5380

Closed
quasicomputational opened this issue Jun 14, 2018 · 3 comments
Closed

cabal new-build --help says default build-dir is dist/ #5380

quasicomputational opened this issue Jun 14, 2018 · 3 comments

Comments

@quasicomputational
Copy link
Contributor

That's a lie: it should be dist-newstyle/. I started chasing this up but I got lost in the twisty maze of option parsing.

@typedrat
Copy link
Collaborator

This be a massive undertaking to fix, having investigated it. The issue is that the new- commands reuse a bunch of old Flags types that include optionDistPref that assumes it's dist and there's no easy way to fix it without somewhat heavy refactoring.

@hvr
Copy link
Member

hvr commented Jul 19, 2018

fwiw, dist-newstyle is supposed to be renamed to dist when new-build becomes build; so I'm not sure this is of much priority. Originally, it was named differently from dist to avoid old-build and new-build stepping on each other's toes but in hindsight it might not have been necessary.

@typedrat
Copy link
Collaborator

I'm gonna say that makes this a WONTFIX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants