haskell / haskell/cabal

GHCi-Options

Open
#3,033 3 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Since we have `cabal repl`, how about a `GHCi-Options` field? I know, you prefer direct Cabal support to such `Options` fields that allow to pass anything.
Here is my use case: The package `synthesizer-llvm` requires a lot of FFI and this prohibits usage in GHCi unless you pass the `-fobject-code` option to GHCi.
I can run:

```
cabal repl --ghc-option=-fobject-code
```

But I want to enable this trick permanently, e.g. by adding this line to `synthesizer-llvm.cabal`:

```
GHCi-Options: -fobject-code
```

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.