{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/377","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/377/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/377/events","html_url":"https://github.com/commercialhaskell/stack/issues/377","id":90165728,"number":377,"title":"Support running in existing MSYS2 installation","user":{"login":"conklech","id":573035,"avatar_url":"https://avatars.githubusercontent.com/u/573035?v=3","gravatar_id":"","url":"https://api.github.com/users/conklech","html_url":"https://github.com/conklech","followers_url":"https://api.github.com/users/conklech/followers","following_url":"https://api.github.com/users/conklech/following{/other_user}","gists_url":"https://api.github.com/users/conklech/gists{/gist_id}","starred_url":"https://api.github.com/users/conklech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conklech/subscriptions","organizations_url":"https://api.github.com/users/conklech/orgs","repos_url":"https://api.github.com/users/conklech/repos","events_url":"https://api.github.com/users/conklech/events{/privacy}","received_events_url":"https://api.github.com/users/conklech/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/need%20confirmation","name":"need confirmation","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5","html_url":"https://github.com/commercialhaskell/stack/milestones/P1:%20Must","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5/labels","id":1166824,"number":5,"title":"P1: Must","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":211,"state":"open","created_at":"2015-06-16T14:23:31Z","updated_at":"2015-12-06T02:01:36Z","due_on":"2015-11-30T08:00:00Z","closed_at":null},"comments":18,"created_at":"2015-06-22T17:50:22Z","updated_at":"2015-12-11T00:44:19Z","closed_at":"2015-07-02T22:57:05Z","body":"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.\r\n\r\nIt would be great if building a package that uses `gtk` from a clean Windows system were as simple as:\r\n\r\n1. Install stack\r\n2. Install MSYS2; open mingw shell\r\n3. $ pacman -S mingw-w64-x86_64-gtk3 pkg-config\r\n4. $ stack build\r\n\r\nRight 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?\r\n\r\n(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.)"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/163797493","html_url":"https://github.com/commercialhaskell/stack/issues/377#issuecomment-163797493","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/377","id":163797493,"user":{"login":"mgsloan","id":22570,"avatar_url":"https://avatars.githubusercontent.com/u/22570?v=3","gravatar_id":"","url":"https://api.github.com/users/mgsloan","html_url":"https://github.com/mgsloan","followers_url":"https://api.github.com/users/mgsloan/followers","following_url":"https://api.github.com/users/mgsloan/following{/other_user}","gists_url":"https://api.github.com/users/mgsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/mgsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgsloan/subscriptions","organizations_url":"https://api.github.com/users/mgsloan/orgs","repos_url":"https://api.github.com/users/mgsloan/repos","events_url":"https://api.github.com/users/mgsloan/events{/privacy}","received_events_url":"https://api.github.com/users/mgsloan/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T00:44:19Z","updated_at":"2015-12-11T00:44:19Z","body":"@asampal That's covered in https://github.com/commercialhaskell/stack/issues/846 , which is indeed something that ought to be done."}}