{"action":"created","issue":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/437","labels_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/437/comments","events_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/437/events","html_url":"https://github.com/kazu-yamamoto/ghc-mod/issues/437","id":54402680,"number":437,"title":"Failed to install ghc-mod with ghc 7.10 & cabal 1.22","user":{"login":"tonyday567","id":1622093,"avatar_url":"https://avatars.githubusercontent.com/u/1622093?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyday567","html_url":"https://github.com/tonyday567","followers_url":"https://api.github.com/users/tonyday567/followers","following_url":"https://api.github.com/users/tonyday567/following{/other_user}","gists_url":"https://api.github.com/users/tonyday567/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyday567/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyday567/subscriptions","organizations_url":"https://api.github.com/users/tonyday567/orgs","repos_url":"https://api.github.com/users/tonyday567/repos","events_url":"https://api.github.com/users/tonyday567/events{/privacy}","received_events_url":"https://api.github.com/users/tonyday567/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":58,"created_at":"2015-01-15T01:46:27Z","updated_at":"2015-04-24T21:10:36Z","closed_at":null,"body":"From a fresh clone, `cabal install` fails with:\r\n\r\nLanguage/Haskell/GhcMod/Gap.hs:256:18:\r\n    Not in scope: data constructor ‘ExposePackageId’\r\n    Perhaps you meant ‘ExposePackage’ (imported from DynFlags)\r\n\r\nghc --version\r\nThe Glorious Glasgow Haskell Compilation System, version 7.10.0.20141222\r\n~/git/ghc-mod ghc710 master*\r\ncabal --version\r\ncabal-install version 1.22.0.0\r\nusing version 1.22.0.0 of the Cabal library \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/comments/96066585","html_url":"https://github.com/kazu-yamamoto/ghc-mod/issues/437#issuecomment-96066585","issue_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/437","id":96066585,"user":{"login":"srid","id":3998,"avatar_url":"https://avatars.githubusercontent.com/u/3998?v=3","gravatar_id":"","url":"https://api.github.com/users/srid","html_url":"https://github.com/srid","followers_url":"https://api.github.com/users/srid/followers","following_url":"https://api.github.com/users/srid/following{/other_user}","gists_url":"https://api.github.com/users/srid/gists{/gist_id}","starred_url":"https://api.github.com/users/srid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srid/subscriptions","organizations_url":"https://api.github.com/users/srid/orgs","repos_url":"https://api.github.com/users/srid/repos","events_url":"https://api.github.com/users/srid/events{/privacy}","received_events_url":"https://api.github.com/users/srid/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T21:10:36Z","updated_at":"2015-04-24T21:10:36Z","body":"This is all I did to resolve this issue:\r\n\r\n```\r\nclone master into /tmp/ghc-mod\r\ncabal install /tmp/ghc-mod\r\n```"}}