{"action":"opened","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/497","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/497/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/497/events","html_url":"https://github.com/commercialhaskell/stack/issues/497","id":92796040,"number":497,"title":"Locally installed GHC fails to compile sanity check","user":{"login":"pharpend","id":3221699,"avatar_url":"https://avatars.githubusercontent.com/u/3221699?v=3","gravatar_id":"","url":"https://api.github.com/users/pharpend","html_url":"https://github.com/pharpend","followers_url":"https://api.github.com/users/pharpend/followers","following_url":"https://api.github.com/users/pharpend/following{/other_user}","gists_url":"https://api.github.com/users/pharpend/gists{/gist_id}","starred_url":"https://api.github.com/users/pharpend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pharpend/subscriptions","organizations_url":"https://api.github.com/users/pharpend/orgs","repos_url":"https://api.github.com/users/pharpend/repos","events_url":"https://api.github.com/users/pharpend/events{/privacy}","received_events_url":"https://api.github.com/users/pharpend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-03T05:31:33Z","updated_at":"2015-07-03T05:31:33Z","closed_at":null,"body":"On `stack setup`, git tree at <https://git.gnu.io/snowdrift/snowdrift>.\r\n\r\n```\r\nThe GHC located at /home/pete/.stack/programs/x86_64-linux/ghc-7.8.4/bin/ghc failed to compile a sanity check. Please see:\r\n\r\n    https://github.com/commercialhaskell/stack/wiki/Downloads\r\n\r\nfor more information. Exception was:\r\nRunning /home/pete/.stack/programs/x86_64-linux/ghc-7.8.4/bin/ghc /tmp/stack-sanity-check28367/Main.hs exited with ExitFailure 1\r\n\r\n/tmp/stack-sanity-check28367/Main.hs:1:8:\r\n    Could not find module ‘Distribution.Simple’\r\n    There are files missing in the ‘Cabal-1.22.0.0’ package,\r\n    try running 'ghc-pkg check'.\r\n    Use -v to see a list of the files searched for.\r\n\r\n\r\n```\r\n\r\n"}}