Skip to content

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

@alanz

Description

@alanz

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions