cabal icon indicating copy to clipboard operation
cabal copied to clipboard

More consistently pass --package-db flag to tests

Open mpickering opened this issue 3 months ago • 3 comments

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).

mpickering avatar Apr 29 '24 15:04 mpickering