-
Notifications
You must be signed in to change notification settings - Fork 132
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
Report all missing packages together #223
Labels
Comments
Nice report, thanks 🙂 Agreed that this is not good behaviour and reporting all errors at the same time is much better. The fix should be quite fine: on line 101 instead of calling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If there are a number of packages which are listed as dependencies in my
spago.dhall
but which do not exist in my package set,spago
reports these one by one. For example:I think it would be better to report all missing packages together, if possible. Of course it won't always be possible to do so: suppose package A depends on package B, and package B depends on C, and I add A as an addition without adding B or C; in this case we might not know that C is missing until we add B.
For a minimal reproduction example, run
spago init
in an empty directory, and modify thespago.dhall
file as follows:and then run
spago build
. The error you receive is:However, it would be nicer to get something like
The text was updated successfully, but these errors were encountered: