{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2142","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2142/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2142/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2142/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/2142","id":91687544,"number":2142,"title":"[Haskell] stack only setup","user":{"login":"boj","id":50839,"avatar_url":"https://avatars.githubusercontent.com/u/50839?v=3","gravatar_id":"","url":"https://api.github.com/users/boj","html_url":"https://github.com/boj","followers_url":"https://api.github.com/users/boj/followers","following_url":"https://api.github.com/users/boj/following{/other_user}","gists_url":"https://api.github.com/users/boj/gists{/gist_id}","starred_url":"https://api.github.com/users/boj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boj/subscriptions","organizations_url":"https://api.github.com/users/boj/orgs","repos_url":"https://api.github.com/users/boj/repos","events_url":"https://api.github.com/users/boj/events{/privacy}","received_events_url":"https://api.github.com/users/boj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/enhancement%20:-D","name":"enhancement :-D","color":"84b6eb"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Haskell","name":"Haskell","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-06-29T03:51:52Z","updated_at":"2015-07-16T00:39:48Z","closed_at":null,"body":"I recently removed everything Haskell related and rebuilt my environment using only `stack`.  It currently uses lts-2.15 with ghc-7.8.4.\r\n\r\nUnfortunately this ends up with a handful of my imports in spacemacs saying \"Could not find module 'X'.  Use -v to see a list of the files searched for.\"\r\n\r\nThe following globally installed to `~/.local/bin`, which is also added to my $PATH:\r\n\r\n    stack install stylish-haskell hlint ghc-mod hasktags\r\n\r\nAnd set the following in my `.spacemacs`:\r\n\r\n    (add-to-list 'exec-path \"~/.local/bin\")\r\n\r\nI suppose it's not finding the application-specific libraries I have installed with stack in my project's working directory?\r\n\r\nClearly this is new beta software and isn't expected to work with spacemacs out of the box.  I was just curious if anyone has tips on how to get it to work, or if there is a fix somewhere upstream in the works?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/121790063","html_url":"https://github.com/syl20bnr/spacemacs/issues/2142#issuecomment-121790063","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2142","id":121790063,"user":{"login":"codygman","id":225847,"avatar_url":"https://avatars.githubusercontent.com/u/225847?v=3","gravatar_id":"","url":"https://api.github.com/users/codygman","html_url":"https://github.com/codygman","followers_url":"https://api.github.com/users/codygman/followers","following_url":"https://api.github.com/users/codygman/following{/other_user}","gists_url":"https://api.github.com/users/codygman/gists{/gist_id}","starred_url":"https://api.github.com/users/codygman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codygman/subscriptions","organizations_url":"https://api.github.com/users/codygman/orgs","repos_url":"https://api.github.com/users/codygman/repos","events_url":"https://api.github.com/users/codygman/events{/privacy}","received_events_url":"https://api.github.com/users/codygman/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T00:39:48Z","updated_at":"2015-07-16T00:39:48Z","body":"There is a [stack mode](https://github.com/commercialhaskell/stack-ide/blob/master/stack-mode/stack-mode.el) that uses [ide-backend](https://github.com/fpco/ide-backend) spacemacs might want to consider supporting. \r\n\r\nMaybe a different layer named haskell-stack or something. "}}