commercialhaskell / commercialhaskell/stack

Improve pkg-config/dependencies installation story on Windows

Open
#1,586 7 comments 0 reactions 0 assignees View on GitHub
component: Windows type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Currently it's up to the Windows user (and undocumented!) to use `stack exec -- pacman` to set up `pkg-config` and any dependencies.

_At worst_, `stack` should be able to handle `pacman -Sy` and the `pkg-config` installation, and then provide a more helpful error message if a package is missing (i.e. how to search for and install it).

If a package's `pkg-config` name is always the suffix of its `pacman` package name -- I'm not sure of this, but it seems likely -- then I don't see why `stack` can't automate the whole process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.