Closed
Description
The great virtue of MSYS2 on Windows is that we now have access to a real package manager for C dependencies. Binary packages are available for recent versions of GTK, webkit, and many other useful packages that have historically been difficult or impossible to install on Windows.
It would be great if building a package that uses gtk
from a clean Windows system were as simple as:
- Install stack
- Install MSYS2; open mingw shell
- $ pacman -S mingw-w64-x86_64-gtk3 pkg-config
- $ stack build
Right now this doesn't work; the gtk2hs builders complain that the pkg-config packages glib, cairo, etc. aren't available. Is this because Stack redirects paths to its built-in git+MSYS2 installation?
(I'd be glad to provide logs, more information, etc.; I don't know how much of this is a known limitation and I don't want to dump details unnecessarily.)