Skip to content

Take --constraint into account for configure/build/test #1564

Closed
@sol

Description

@sol

AFAICT, --constraint (and constraints given in ./cabal.config) are only taken into account for cabal install. For me It would be useful if they would also be taken into account during development.

Say if I have

constraints:foo==0.2.1

in cabal.config, but foo-0.2.2 is installed, I'd like cabal build to fail.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions