{"action":"created","issue":{"url":"https://api.github.com/repos/begriffs/haskell-vim-now/issues/72","labels_url":"https://api.github.com/repos/begriffs/haskell-vim-now/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/begriffs/haskell-vim-now/issues/72/comments","events_url":"https://api.github.com/repos/begriffs/haskell-vim-now/issues/72/events","html_url":"https://github.com/begriffs/haskell-vim-now/issues/72","id":107003528,"number":72,"title":"Haskell-vim-now and stack don't seem to play together nicely yet","user":{"login":"samvher","id":4366473,"avatar_url":"https://avatars.githubusercontent.com/u/4366473?v=3","gravatar_id":"","url":"https://api.github.com/users/samvher","html_url":"https://github.com/samvher","followers_url":"https://api.github.com/users/samvher/followers","following_url":"https://api.github.com/users/samvher/following{/other_user}","gists_url":"https://api.github.com/users/samvher/gists{/gist_id}","starred_url":"https://api.github.com/users/samvher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samvher/subscriptions","organizations_url":"https://api.github.com/users/samvher/orgs","repos_url":"https://api.github.com/users/samvher/repos","events_url":"https://api.github.com/users/samvher/events{/privacy}","received_events_url":"https://api.github.com/users/samvher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-17T14:55:40Z","updated_at":"2015-10-01T15:26:10Z","closed_at":null,"body":"Hi!\r\n\r\nFirst of all, I really like haskell-vim-now, it's super easy to install and makes my vim environment beautiful.\r\n\r\nI used it successfully for quite a while, but recently I started using stack instead of cabal-install (which is also an awesome improvement), and unfortunately I feel like now many things don't work very well anymore. One thing happening in my AWS EC2 environment is that every time  I save I get this syntastic error:\r\n\r\n    ghc-mod: Could not find $libexecdir/cabal-helper-wrapper                        \r\n    If you are a developer set the environment variable                             \r\n    `cabal_helper_libexecdir' to override $libexecdir[1]. The following will        \r\n    work in the cabal-helper source tree:                                           \r\n        $ export cabal_helper_libexecdir=$PWD/dist/build/cabal-helper-wrapper       \r\n    [1]: /tmp/build-IARM/.cabal-sandbox/libexec                                     \r\n    If you don't know what I'm talking about something went wrong with your         \r\n    installation. Please report this problem here:                                  \r\n        https://github.com/DanielG/cabal-helper/issues\r\n\r\nIn another environment \",hc\" doesn't seem to work well anymore. This could have something to do with the fact that I have both a local ghc installation and a global one (one in my home dir, the other across users), or that I have my packages installed locally.\r\n\r\n(As an aside, auto-indenting doesn't seem to work very well in .lhs files but I'm fairly sure that's a plugin-specific thing, not a haskell-vim-now issue.)\r\n\r\nIn case all these issues are already fixed, what's the easiest way for me to update haskell-vim-now? (I can git pull, maybe that's all I need to do?)\r\n\r\nOh by the way, I did find this command in a post by Michael Snoyman (https://groups.google.com/forum/#!topic/haskell-stack/8HJ6DHAinU0):\r\n\r\n    cabal configure --package-db=clear --package-db=global --package-db=$(stack path --snapshot-pkg-db) --package-db=$(stack path --local-pkg-db)\r\n\r\nthis solved at least part of my problems, maybe it will be useful for other people as well.\r\n\r\nCheers and thanks!\r\nSam"},"comment":{"url":"https://api.github.com/repos/begriffs/haskell-vim-now/issues/comments/144762213","html_url":"https://github.com/begriffs/haskell-vim-now/issues/72#issuecomment-144762213","issue_url":"https://api.github.com/repos/begriffs/haskell-vim-now/issues/72","id":144762213,"user":{"login":"xenog","id":904557,"avatar_url":"https://avatars.githubusercontent.com/u/904557?v=3","gravatar_id":"","url":"https://api.github.com/users/xenog","html_url":"https://github.com/xenog","followers_url":"https://api.github.com/users/xenog/followers","following_url":"https://api.github.com/users/xenog/following{/other_user}","gists_url":"https://api.github.com/users/xenog/gists{/gist_id}","starred_url":"https://api.github.com/users/xenog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xenog/subscriptions","organizations_url":"https://api.github.com/users/xenog/orgs","repos_url":"https://api.github.com/users/xenog/repos","events_url":"https://api.github.com/users/xenog/events{/privacy}","received_events_url":"https://api.github.com/users/xenog/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T15:26:10Z","updated_at":"2015-10-01T15:26:10Z","body":"Ideally, you do not want `cabal-install`, it is better to stop using it altogether and move completely to `stack` instead of having both. They can coexist nonetheless, but I don’t see why someone would like to continue using `cabal-install`."}}