Skip to content

cabal-pkg-config-version-hook should use Cabal Program API instead of hard coding pkg-config binary name #447

Open
@sternenseemann

Description

In nixpkgs, pkg-config is prefixed in the cross case, so this would fail miserably:

https://github.com/hercules-ci/hercules-ci-agent/blob/master/cabal-pkg-config-version-hook/src/Distribution/PkgConfigVersionHook.hs#L154

We do already provide the correct pkg-config executable to Cabal via the --with-pkg-config flag, so it should be easily possible to obtain the correct program.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions