--- Please include the following checklist in your PR: * [ ] Patches conform to the [coding conventions](https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#conventions). * [ ] Any changes that could be relevant to users have been recorded in the changelog (add file to `changelog.d` directory). * [ ] The documentation has been updated, if necessary. Please also shortly describe how you tested your change. Bonus points for added tests!