haskell / haskell/cabal

cabal configure with build-type: Configure should append rather than prepend --configure-options to the ./configure script

Open
#2,801 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.