{"action":"closed","issue":{"url":"https://api.github.com/repos/commercialhaskell/intero/issues/232","repository_url":"https://api.github.com/repos/commercialhaskell/intero","labels_url":"https://api.github.com/repos/commercialhaskell/intero/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/intero/issues/232/comments","events_url":"https://api.github.com/repos/commercialhaskell/intero/issues/232/events","html_url":"https://github.com/commercialhaskell/intero/issues/232","id":171382238,"number":232,"title":"Intero gets confused by wrong system GHC version","user":{"login":"23Skidoo","id":47439,"avatar_url":"https://avatars.githubusercontent.com/u/47439?v=3","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-16T11:07:57Z","updated_at":"2016-08-16T11:42:04Z","closed_at":"2016-08-16T11:42:04Z","body":"I have a GHC 8.0.2 snapshot from @hvr's repo installed as a default system GHC and `intero-mode` set up as a `haskell-mode-hook`. When I try to open any Cabal source file in Emacs, I get the following:\r\n\r\n```\r\n    Intero is not installed in the Stack environment.\r\n\r\nInstalling intero-0.1.15 automatically ...\r\n\r\nCabal file warning in /home/refold/code/haskell/cabal/cabal-install/cabal-install.cabal: Ignoring unknown section type: custom-setup\r\nCabal file warning in /home/refold/code/haskell/cabal/cabal-install/cabal-install.cabal: Ignoring unknown section type: custom-setup\r\nWhile constructing the BuildPlan the following exceptions were encountered:\r\n\r\n--  Failure when adding dependencies:    \r\n      ghc: needed (>=7.8 && <=8.0.1), 8.0.1.20160725 found\r\n    needed for package intero-0.1.15\r\nCould not install Intero!\r\n\r\nWe don't know why it failed. Please read the above output and try\r\ninstalling manually. If that doesn't work, report this as a\r\nproblem.\r\n\r\nWHAT TO DO NEXT\r\n\r\nIf you don't want to Intero to try installing itself again for\r\nthis project, just keep this buffer around in your Emacs.\r\n\r\nIf you'd like to try again next time you try use an Intero\r\nfeature, kill this buffer.\r\n```\r\n\r\nLooks a bit strange to me, since I thought that Stack manages its own GHC installation and does not get affected by whatever GHC version is installed globally. Intero boots up and works fine for me when I open a standalone `.hs` file somewhere."}}
{"actor":{"display_login":"chrisdone"}}