{"action":"created","issue":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/632","labels_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/632/comments","events_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/632/events","html_url":"https://github.com/kazu-yamamoto/ghc-mod/issues/632","id":108941804,"number":632,"title":"cradleDistDir and stack","user":{"login":"d12frosted","id":6507913,"avatar_url":"https://avatars.githubusercontent.com/u/6507913?v=3","gravatar_id":"","url":"https://api.github.com/users/d12frosted","html_url":"https://github.com/d12frosted","followers_url":"https://api.github.com/users/d12frosted/followers","following_url":"https://api.github.com/users/d12frosted/following{/other_user}","gists_url":"https://api.github.com/users/d12frosted/gists{/gist_id}","starred_url":"https://api.github.com/users/d12frosted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d12frosted/subscriptions","organizations_url":"https://api.github.com/users/d12frosted/orgs","repos_url":"https://api.github.com/users/d12frosted/repos","events_url":"https://api.github.com/users/d12frosted/events{/privacy}","received_events_url":"https://api.github.com/users/d12frosted/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-29T19:26:42Z","updated_at":"2015-10-03T09:21:00Z","closed_at":null,"body":"Hey,\r\n\r\nI am not sure how to test it properly, but looks like `cradleDistDir` is wrong when you are using `stack`. My initial problem is that when I am using `stack` - `Paths_name` module can't be found, which brings troubles which flycheck. \r\n\r\nAlso, `Paths_name` is in `other-modules` section in `.cabal` file. When I start process with `haskell-mode` and try to navigate to `Paths_name` module - it brings me to it! This module is in `/path/to/project/.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/autogen/`. \r\n\r\nI don't have bare `cabal` right now - so can't test if it's working when I am building with `cabal`. "},"comment":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/comments/145230353","html_url":"https://github.com/kazu-yamamoto/ghc-mod/issues/632#issuecomment-145230353","issue_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/632","id":145230353,"user":{"login":"DanielG","id":199218,"avatar_url":"https://avatars.githubusercontent.com/u/199218?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielG","html_url":"https://github.com/DanielG","followers_url":"https://api.github.com/users/DanielG/followers","following_url":"https://api.github.com/users/DanielG/following{/other_user}","gists_url":"https://api.github.com/users/DanielG/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielG/subscriptions","organizations_url":"https://api.github.com/users/DanielG/orgs","repos_url":"https://api.github.com/users/DanielG/repos","events_url":"https://api.github.com/users/DanielG/events{/privacy}","received_events_url":"https://api.github.com/users/DanielG/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T09:21:00Z","updated_at":"2015-10-03T09:21:00Z","body":"Well people tend to have those left over from their cabal-install days so I have to ask. Give me the output of `ghc-mod debug` in that directory then."}}