commercialhaskell / commercialhaskell/stack
Improve pkg-config/dependencies installation story on Windows
Open
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
Assessment
This issue has not been assessed yet.