Skip to content

ghc-options are not passed to dependencies via cabal.project #11123

@zlonast

Description

@zlonast

Describe the bug
ghc-options are not passed to dependencies via cabal.project
cabal build -v3 also don't show any -std=c11

To Reproduce
Steps to reproduce the behavior:

package minisat-solver
  ghc-options: -optc "-std=c11"
$ cabal build -v3

Expected behavior
ghc-options must be passed

System information

  • Ubuntu 24.04.2
  • cabal-3.16.0.0, ghc-10.2 versions

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