-
Notifications
You must be signed in to change notification settings - Fork 701
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
Inscrutable error message if cabal.project has no packages field #6013
Comments
EDIT: Played with a parser a bit. It's this that fails with the above error message:
However, this works fine:
As does
|
To be clear, this behavior occurs if I do have a |
Yep, bumped into this too. |
phadej
added a commit
that referenced
this issue
Dec 15, 2019
Resolve #6013: Warn if packages and optional-packages are both empty
phadej
added a commit
to phadej/cabal
that referenced
this issue
Dec 15, 2019
Related: #6144 |
mauke
added a commit
to mauke/hackage-server
that referenced
this issue
Jan 10, 2025
The provided Dockerfile was outdated, from using a 'cabal-install' version that couldn't parse the cabal.project file (running into <haskell/cabal#6013>) to using a ghc that didn't have the required 'base' version.
mauke
added a commit
to mauke/hackage-server
that referenced
this issue
Jan 10, 2025
The provided Dockerfile was outdated, from using a 'cabal-install' version that couldn't parse the cabal.project file (running into <haskell/cabal#6013>) to using a ghc that didn't have the required 'base' version.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I create a project with a
cabal.project
file that does not list the packages field then I get the error:I think this is not a very helpful message for the problem at hand.
The text was updated successfully, but these errors were encountered: