{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/530","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/530/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/530/events","html_url":"https://github.com/commercialhaskell/stack/issues/530","id":93326795,"number":530,"title":"Support specialized GHC bindists","user":{"login":"3noch","id":882455,"avatar_url":"https://avatars.githubusercontent.com/u/882455?v=3","gravatar_id":"","url":"https://api.github.com/users/3noch","html_url":"https://github.com/3noch","followers_url":"https://api.github.com/users/3noch/followers","following_url":"https://api.github.com/users/3noch/following{/other_user}","gists_url":"https://api.github.com/users/3noch/gists{/gist_id}","starred_url":"https://api.github.com/users/3noch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3noch/subscriptions","organizations_url":"https://api.github.com/users/3noch/orgs","repos_url":"https://api.github.com/users/3noch/repos","events_url":"https://api.github.com/users/3noch/events{/privacy}","received_events_url":"https://api.github.com/users/3noch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/discuss","name":"discuss","color":"fad8c7"},{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-06T16:59:31Z","updated_at":"2015-07-06T18:25:57Z","closed_at":null,"body":"Continuing discussion in #495 and related to #399.\r\n\r\n`stack`'s understanding of GHC is a bit primitive as it only knows about version, OS, and architecture. It would help to augment this understanding to other [potentially arbitrary] factors. The current use-case is GHC bindists built with `integer-simple` instead of `integer-gmp`. Since this concept is orthogonal to version, OS, and architecture, `stack` has no good way to represent it. Thus, `stack` cannot currently\r\n\r\n  * represent the constraint via the `yaml` file or command-line arguments\r\n  * install specialized GHCs automatically\r\n  * check for existing presence\r\n\r\nCurrently the `resolver` is responsible for determining which *version* of GHC to use, and something else determines which OS/architecture distribution to use."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/118947207","html_url":"https://github.com/commercialhaskell/stack/issues/530#issuecomment-118947207","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/530","id":118947207,"user":{"login":"manny-fp","id":2164261,"avatar_url":"https://avatars.githubusercontent.com/u/2164261?v=3","gravatar_id":"","url":"https://api.github.com/users/manny-fp","html_url":"https://github.com/manny-fp","followers_url":"https://api.github.com/users/manny-fp/followers","following_url":"https://api.github.com/users/manny-fp/following{/other_user}","gists_url":"https://api.github.com/users/manny-fp/gists{/gist_id}","starred_url":"https://api.github.com/users/manny-fp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manny-fp/subscriptions","organizations_url":"https://api.github.com/users/manny-fp/orgs","repos_url":"https://api.github.com/users/manny-fp/repos","events_url":"https://api.github.com/users/manny-fp/events{/privacy}","received_events_url":"https://api.github.com/users/manny-fp/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T18:25:56Z","updated_at":"2015-07-06T18:25:56Z","body":"Specifying a GHC variant on stack.yaml could be tricky, because you may want different variants on different platforms.  For example, integer-simple more likely to be wanted on Windows.  On Linux, you might want the gmp4 (centos65) variant on some distributions but not on others, and it would be rare to actually specify that rather than autodetect it.\r\n"}}