Skip to content

cabal build --help reports wrong default for builddir #9231

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

Closed
mpickering opened this issue Sep 4, 2023 · 1 comment
Closed

cabal build --help reports wrong default for builddir #9231

mpickering opened this issue Sep 4, 2023 · 1 comment

Comments

@mpickering
Copy link
Collaborator

If I run cabal build --help then the wrong default is listed for build-dir.

 --builddir=DIR                 The directory where Cabal puts generated build
                                files (default dist)

I think this is because the builddir command is one inherited from the Setup.hs interface, where the default is dist. The default when using cabal-install is dist-newstyle.

@Mikolaj
Copy link
Member

Mikolaj commented Sep 4, 2023

This is a dupe of #7924 and implemented (but without enough reviews) in #8833. Closing.

@Mikolaj Mikolaj closed this as completed Sep 4, 2023
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

2 participants