{"action":"created","issue":{"url":"https://api.github.com/repos/scrooloose/syntastic/issues/408","labels_url":"https://api.github.com/repos/scrooloose/syntastic/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/scrooloose/syntastic/issues/408/comments","events_url":"https://api.github.com/repos/scrooloose/syntastic/issues/408/events","html_url":"https://github.com/scrooloose/syntastic/issues/408","id":8540258,"number":408,"title":"Haskell: Add cabal paths to ghc-mod based checker","user":{"login":"NicolasT","id":102605,"avatar_url":"https://avatars.githubusercontent.com/u/102605?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasT","html_url":"https://github.com/NicolasT","followers_url":"https://api.github.com/users/NicolasT/followers","following_url":"https://api.github.com/users/NicolasT/following{/other_user}","gists_url":"https://api.github.com/users/NicolasT/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasT/subscriptions","organizations_url":"https://api.github.com/users/NicolasT/orgs","repos_url":"https://api.github.com/users/NicolasT/repos","events_url":"https://api.github.com/users/NicolasT/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2012-11-21T12:00:58Z","updated_at":"2015-02-16T11:40:35Z","closed_at":null,"body":"When working on a project using *cabal* or *cabal-dev*, it's often useful to pass some include paths to GHC, similar to what *cabal* would do, e.g. when using *hsc2hs*.\n\nThe *ghcmod-vim* plugin contains some support for this, see https://github.com/eagletmt/ghcmod-vim/blob/master/autoload/ghcmod.vim#L381 (\"ghcmod#build_command\"). I hacked this into *syntax_checkers/haskell/ghc-mod.vim*, and it seems to work, although it looks like #219 is biting me as well now."},"comment":{"url":"https://api.github.com/repos/scrooloose/syntastic/issues/comments/74496269","html_url":"https://github.com/scrooloose/syntastic/issues/408#issuecomment-74496269","issue_url":"https://api.github.com/repos/scrooloose/syntastic/issues/408","id":74496269,"user":{"login":"ches","id":13277,"avatar_url":"https://avatars.githubusercontent.com/u/13277?v=3","gravatar_id":"","url":"https://api.github.com/users/ches","html_url":"https://github.com/ches","followers_url":"https://api.github.com/users/ches/followers","following_url":"https://api.github.com/users/ches/following{/other_user}","gists_url":"https://api.github.com/users/ches/gists{/gist_id}","starred_url":"https://api.github.com/users/ches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ches/subscriptions","organizations_url":"https://api.github.com/users/ches/orgs","repos_url":"https://api.github.com/users/ches/repos","events_url":"https://api.github.com/users/ches/events{/privacy}","received_events_url":"https://api.github.com/users/ches/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T11:40:35Z","updated_at":"2015-02-16T11:40:35Z","body":"OP can confirm, but I believe this can be closed as no longer relevant: `cabal-dev` is essentially obsoleted by native sandbox support in current `cabal` versions, and ghc-mod and thus Syntastic's checker for it work seamlessly with these sandboxes."}}