haskell / haskell/cabal

pkg-config search path

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

Description

Hi,

Cabal doesn't honour PKG_CONFIG_PATH, which can be updated after package install to expose it.

It prevents resolving pkg-config dependencies (whereas the same deps are found executing pkg-config by hand on CLI).

Env: Win7 msys2 cabal-1.18

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the report. Start by reproducing the dependency-resolution difference on Windows/MSYS2 with Cabal 1.18, comparing Cabal's behavior with running pkg-config directly and checking PKG_CONFIG_PATH. Done means dependencies exposed through that variable resolve consistently with the command-line tool.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.