You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I create a project with a cabal.project file that does not list the packages field then I get the error:
cabal: There is no <pkgname>.cabal package file or cabal.project file. To
build packages locally you need at minimum a <pkgname>.cabal file. You can use
'cabal init' to create one.
For non-trivial projects you will also want a cabal.project file in the root
directory of your project. This file lists the packages in your project and
all other build configuration. See the Cabal user guide for full details.
I think this is not a very helpful message for the problem at hand.
The text was updated successfully, but these errors were encountered:
To be clear, this behavior occurs if I do have a <pkgname>.cabal file and a cabal.project but fail to list the packages field in the cabal.project file.
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: