haskell / haskell/cabal

allow cabal.project to specify/override additional pkg-config depends

Open
#9,174 0 comments 0 reactions 0 assignees View on GitHub
re: pkg-config type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

so i'm trying to use the rounded package on recent ghc, and ignoring other challenges, I need to make it aware of a gmp install, because recent ghc dont provide a gmp!

```
packages: *.cabal

allow-newer: rounded:base,rounded:ghc-prim,long-double:base

package rounded
pkgconfig-depends: mpfr, gmp
```
is what i'm trying to do, but it looks like that field isn't understood by cabal.project?

Contributor guide

Open the contributing guide

Research direction

Start by examining how cabal.project package stanzas handle fields, using the shown pkgconfig-depends setting as the concrete case. Compare that behavior with the package's .cabal metadata and determine what support for specifying or overriding additional pkg-config dependencies should mean. Done means the requested dependency can be configured through cabal.project.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.