{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/800","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/800/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/800/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/800/events","html_url":"https://github.com/commercialhaskell/stack/pull/800","id":101307781,"number":800,"title":"Add arch info to --version #799","user":{"login":"joozek78","id":6013217,"avatar_url":"https://avatars.githubusercontent.com/u/6013217?v=3","gravatar_id":"","url":"https://api.github.com/users/joozek78","html_url":"https://github.com/joozek78","followers_url":"https://api.github.com/users/joozek78/followers","following_url":"https://api.github.com/users/joozek78/following{/other_user}","gists_url":"https://api.github.com/users/joozek78/gists{/gist_id}","starred_url":"https://api.github.com/users/joozek78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joozek78/subscriptions","organizations_url":"https://api.github.com/users/joozek78/orgs","repos_url":"https://api.github.com/users/joozek78/repos","events_url":"https://api.github.com/users/joozek78/events{/privacy}","received_events_url":"https://api.github.com/users/joozek78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-16T23:11:48Z","updated_at":"2015-08-17T05:18:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/commercialhaskell/stack/pulls/800","html_url":"https://github.com/commercialhaskell/stack/pull/800","diff_url":"https://github.com/commercialhaskell/stack/pull/800.diff","patch_url":"https://github.com/commercialhaskell/stack/pull/800.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/131680844","html_url":"https://github.com/commercialhaskell/stack/pull/800#issuecomment-131680844","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/800","id":131680844,"user":{"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},"created_at":"2015-08-17T05:18:41Z","updated_at":"2015-08-17T05:18:41Z","body":"I'd recommend instead using the values from Distribution.System, like we do at:\r\n\r\nhttps://github.com/commercialhaskell/stack/blob/2200266ac823b7fa60757b27b692b8e935ee9df4/src/Stack/Config.hs#L128\r\n\r\nIt will avoid the need for CPP or hard-coding a list of values."}}