{"action":"created","issue":{"url":"https://api.github.com/repos/hdevtools/hdevtools/issues/28","repository_url":"https://api.github.com/repos/hdevtools/hdevtools","labels_url":"https://api.github.com/repos/hdevtools/hdevtools/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/hdevtools/hdevtools/issues/28/comments","events_url":"https://api.github.com/repos/hdevtools/hdevtools/issues/28/events","html_url":"https://github.com/hdevtools/hdevtools/issues/28","id":166754315,"number":28,"title":"Do not require hdevtools to run via stack exec","user":{"login":"ch1bo","id":2621189,"avatar_url":"https://avatars.githubusercontent.com/u/2621189?v=3","gravatar_id":"","url":"https://api.github.com/users/ch1bo","html_url":"https://github.com/ch1bo","followers_url":"https://api.github.com/users/ch1bo/followers","following_url":"https://api.github.com/users/ch1bo/following{/other_user}","gists_url":"https://api.github.com/users/ch1bo/gists{/gist_id}","starred_url":"https://api.github.com/users/ch1bo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ch1bo/subscriptions","organizations_url":"https://api.github.com/users/ch1bo/orgs","repos_url":"https://api.github.com/users/ch1bo/repos","events_url":"https://api.github.com/users/ch1bo/events{/privacy}","received_events_url":"https://api.github.com/users/ch1bo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T07:26:44Z","updated_at":"2016-08-06T17:22:15Z","closed_at":null,"body":"In order to support a typical stack environment where the compiler is installed at a non-system location - e.g. `~/.stack/programs` - `hdevtools` required to be run with `stack exec` to get have the appropriate environment set.\r\n\r\nI think we can get rid of this requirement by initializing the `GHC` session with the correct `libdir` (see branch `stack-ghc-libdir`) and using the appropriate `ghc-pkg` binary - after tracking down where it is called - i.e. by setting the `PATH` for this sub-process correctly. The latter can be easily achieved using `stack path --compiler-bin`."},"comment":{"url":"https://api.github.com/repos/hdevtools/hdevtools/issues/comments/238034752","html_url":"https://github.com/hdevtools/hdevtools/issues/28#issuecomment-238034752","issue_url":"https://api.github.com/repos/hdevtools/hdevtools/issues/28","id":238034752,"user":{"login":"ch1bo","id":2621189,"avatar_url":"https://avatars.githubusercontent.com/u/2621189?v=3","gravatar_id":"","url":"https://api.github.com/users/ch1bo","html_url":"https://github.com/ch1bo","followers_url":"https://api.github.com/users/ch1bo/followers","following_url":"https://api.github.com/users/ch1bo/following{/other_user}","gists_url":"https://api.github.com/users/ch1bo/gists{/gist_id}","starred_url":"https://api.github.com/users/ch1bo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ch1bo/subscriptions","organizations_url":"https://api.github.com/users/ch1bo/orgs","repos_url":"https://api.github.com/users/ch1bo/repos","events_url":"https://api.github.com/users/ch1bo/events{/privacy}","received_events_url":"https://api.github.com/users/ch1bo/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T17:22:15Z","updated_at":"2016-08-06T17:22:15Z","body":"Should be solved by 17d11445cf8008fe9dce6a3e9e9862ccc1b7e84c"}}
{"actor":{"display_login":"ch1bo"}}