Add support for `configure-options` to `program-defaults-options`-section
Open
cabal-install: other
old-milestone: cabal-install 2.0
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
Currently, the cabal `config` file does not allow to persist settings such as
```
--configure-option=--build=x86_64-w64-mingw32
```
which are essential when using a cygwin environment with a mingw crosscompiler (as otherwise `config.guess` would report an inappropriate platform tuple)
(see also https://github.com/haskell/cabal/issues/1950#issuecomment-56495108 )
Contributor guide
Assessment
This issue has not been assessed yet.