-
Notifications
You must be signed in to change notification settings - Fork 722
Closed
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: bug
Milestone
Description
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.
Metadata
Metadata
Assignees
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: bug