cabal-4
Cabal supports a dry-run-feature, which runs a subset of the specified commands.The '--dry-run' did not actually dry-run for commands 'v2-configure', 'v2-freeze', 'v2-run', and 'v2-exec'. Instead, the dry-run flag was ignored and the commands did perform a few actions. The fix is to add if-expressions where needed in the commands' code to perform the dry-run as expected.
[missing-cases]
[system-test]