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-run ignores store and build dir set in project file. #5481

Closed
AndreasPK opened this issue Jul 31, 2018 · 4 comments
Closed

Cabal new-run ignores store and build dir set in project file. #5481

AndreasPK opened this issue Jul 31, 2018 · 4 comments

Comments

@AndreasPK
Copy link
Collaborator

Seems similar to #5457 .

While #5457 seems to have been fixed in master store and build dir are still ignored as of
commit 2dd3bbc..

They get written by new-configure so this seems odd to me.

@hvr
Copy link
Member

hvr commented Jul 31, 2018

IIRC there was a fundamental catch-22 issue w/ builddir-in-cabal.project which makes it rather tricky to fix/implement (as we need to avoid having to reparse cabal.project on every invocation)

@AndreasPK
Copy link
Collaborator Author

Does this mean it won't be supported?

Could cabal in the meantime at least warning about ignored options?
Imo it's far too easy to trip over silently ignored options.

@AndreasPK
Copy link
Collaborator Author

Found #5271 which has more discussion on the topic. Maybe close this as duplicate?

@hvr
Copy link
Member

hvr commented Aug 1, 2018

Duplicate of #5271

@hvr hvr marked this as a duplicate of #5271 Aug 1, 2018
@hvr hvr closed this as completed Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants