haskell / haskell/cabal

"cabal user-config diff" does not report program-default-options

Open
#6,318 0 comments 0 reactions 0 assignees View on GitHub
cabal-install: cmd/user-config type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

**Describe the bug**

With a `~/.cabal/config` file which is standard but ends with

```
program-default-options
ghc-options: -j4 +RTS -A32m -RTS
```
The `cabal user-config diff` command does not report the extra config.

**To Reproduce**

As above

**Expected behavior**

It should report that there is an additional setting in the config file.

**System information**
- Operating system : Debian Testing

$ cabal --version
cabal-install version 3.0.0.0
compiled using version 3.0.0.0 of the Cabal library

GHC 8.6.5

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.