cabal configure with build-type: Configure should append rather than prepend --configure-options to the ./configure script
Open
build-type: configure
type: bug
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
`cabal configure` with `build-type: Configure` should append rather than prepend the `--configure-option`s to the `./configure` script. As it is, there's no way to override the flags that Cabal supplies on its own, such as `--with-gcc`. Current behavior:
```
./configure [configure-options] --with-compiler=… --prefix=… --with-gcc=…
```
Preferred behavior:
```
./configure --with-compiler=… --prefix=… --with-gcc=… [configure-options]
```
Contributor guide
Assessment
This issue has not been assessed yet.