Skip to content

Patch cabal to pass --static flags to pkg-config #62

Open
@nh2

Description

@nh2

pkg-config takes a --static flag to output .a files for --libs. We currently add those manually in static-haskell-nix.

Instead, we should teach cabal to pass it, given that .cabal files can specify pkg-config dependencies.

Hopefully we can then get rid of pkg-config related overrides in static-haskell-nix and fundamentally fix issues like #57, so that Haskell libraries "remember" which static system libraries they need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions