-
Notifications
You must be signed in to change notification settings - Fork 697
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
Error message for missing package list is unclear when looking for build-tool-depends #7197
Comments
If you read the output properly:
it literally starts with
This is no bug. Whether to download automatically, I have no opinion. In |
I agree that it's not a bug. It's "just" bad user experience. Maybe I got numbed by (other) verbose build logs or may I got demotivated by the weird "show RemoteRepo" logging. Possible actions
|
Thank you @roberth for bringing this here from Stack Overflow. I personally feel this isn't a cabal problem, but rather a nix problem, though. I doubt anyone using cabal by itself without nix would try to pull dependencies without The only reason I ignored that is because I would have liked to use nix to provide those dependencies to cabal, rather than pull from Hackage—this had been working for Hence, it seems to me that it's likely to be an issue with Edit: @phadej's errors appearing for |
About the And I've collected GitHub issues relating to this problem here: https://gist.github.com/ScottFreeCode/ef9f254e2dd91544bba4a068852fc81f |
Describe the bug
When the package list is missing,
build-tool-depends
causes a cryptic error message.cc @chuahou
To Reproduce
Steps to reproduce the behavior:
See https://stackoverflow.com/a/65287190/428586
Please use version-prefixed commands (e.g.
v2-build
orv1-build
) to avoid ambiguity.Expected behavior
A clear error message indicating that the package list wasn't present on the system.
Perhaps it could be downloaded automatically.
System information
cabal
,ghc
versionsAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: