cabal
cabal copied to clipboard
More consistently pass --package-db flag to tests
Previously --package-db
was only passed to test which used the v2-
prefix.
Now we pass --package-db
to things which use the v2-
prefix, not things which use the v1-
prefix and by default assume that unprefixed commands are v2 commands.
Please read Github PR Conventions and then fill in one of these two templates.
- [x] Patches conform to the coding conventions.
- [ ] Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).