Skip to content

Fail fast cabal install dependencies #2383

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
bugabinga opened this issue Jan 22, 2015 · 1 comment
Closed

Fail fast cabal install dependencies #2383

bugabinga opened this issue Jan 22, 2015 · 1 comment

Comments

@bugabinga
Copy link

Doing cabal install on large projects can take significant amounts of time. However, build errors of dependencies get aggregated and shown at the end of the build, which is a waste of my time, especially if the error occurred early on.

I would have expected that upon first error, cabal aborts the whole build, presenting that error.

My suggestion is to change the default behaviour in the case of an error to "fail fast", unless there is a good use case, that I am unaware of, for the aggregation behaviour.

If existing cabal users have come to depend on the aggregation, I suggest a new flag --fail-fast or similar.

@ttuegel
Copy link
Member

ttuegel commented Feb 28, 2015

Duplicate of #1924.

@ttuegel ttuegel closed this as completed Feb 28, 2015
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