{"action":"created","comment":{"url":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/comments/44518228","id":44518228,"diff_hunk":"@@ -251,13 +251,21 @@ buffer.\"\n   \"Process the a Cabal CONFIG.\"\n   (let-alist config\n     (setq-local flycheck-ghc-search-path\n-                (append .build-directories .source-directories\n+                (append (if (string-equal (car flycheck-haskell-runghc-command)\n+                                          \"stack\")","path":"flycheck-haskell.el","position":null,"original_position":6,"commit_id":"e2e243a18f0976c1b54127d25b82189df0022f7d","original_commit_id":"778a8eb91741bb9dd3bf0f084bf0b2db9a876489","user":{"login":"lunaryorn","id":224922,"avatar_url":"https://avatars.githubusercontent.com/u/224922?v=3","gravatar_id":"","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"body":"@mrkkrp Ah, sorry, there's no relation between these at all.  This project is just about dumping the Cabal configuration, and we only use `stack` here because that's the safest way to get a `runghc` for Stack users—as you know Stack doesn't require a global GHC installation, and I presume many stack users don't have one anymore.  For them, `stack runghc` is actually the only way to get _any_ `runghc` to dum the Cabal configuration.\r\n\r\nIt doesn't matter whether Stack actually builds/checks this project or not, we just want to get any GHC to run our Haskell code to dump the Cabal configuration.\r\n\r\nAdding all paths together is the simplest thing to do.  I think we should just try it, and look for issues.  If it causes problems we can still add a more sophisticated logic to differentiate between Stack and Cabal builds.  But if adding everything together turns out to be a solid approximation, we should we not keep that simple approach?","created_at":"2015-11-11T10:14:58Z","updated_at":"2015-11-11T10:14:58Z","html_url":"https://github.com/flycheck/flycheck-haskell/pull/48#discussion_r44518228","pull_request_url":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/comments/44518228"},"html":{"href":"https://github.com/flycheck/flycheck-haskell/pull/48#discussion_r44518228"},"pull_request":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/48","id":50058949,"html_url":"https://github.com/flycheck/flycheck-haskell/pull/48","diff_url":"https://github.com/flycheck/flycheck-haskell/pull/48.diff","patch_url":"https://github.com/flycheck/flycheck-haskell/pull/48.patch","issue_url":"https://api.github.com/repos/flycheck/flycheck-haskell/issues/48","number":48,"state":"open","locked":false,"title":"Limit visible packages to actual dependencies","user":{"login":"mrkkrp","id":8165792,"avatar_url":"https://avatars.githubusercontent.com/u/8165792?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkkrp","html_url":"https://github.com/mrkkrp","followers_url":"https://api.github.com/users/mrkkrp/followers","following_url":"https://api.github.com/users/mrkkrp/following{/other_user}","gists_url":"https://api.github.com/users/mrkkrp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkkrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkkrp/subscriptions","organizations_url":"https://api.github.com/users/mrkkrp/orgs","repos_url":"https://api.github.com/users/mrkkrp/repos","events_url":"https://api.github.com/users/mrkkrp/events{/privacy}","received_events_url":"https://api.github.com/users/mrkkrp/received_events","type":"User","site_admin":false},"body":"See #47, this solves the problem of “Ambiguous module name ‘Crypto.Hash’: it was found in multiple packages”.\r\n\r\nEdit: Connects to #47 ","created_at":"2015-11-08T12:10:16Z","updated_at":"2015-11-11T10:14:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a27f2e556548756707a46c7307a120bf01aa2f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/48/commits","review_comments_url":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/48/comments","review_comment_url":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flycheck/flycheck-haskell/issues/48/comments","statuses_url":"https://api.github.com/repos/flycheck/flycheck-haskell/statuses/e2e243a18f0976c1b54127d25b82189df0022f7d","head":{"label":"mrkkrp:master","ref":"master","sha":"e2e243a18f0976c1b54127d25b82189df0022f7d","user":{"login":"mrkkrp","id":8165792,"avatar_url":"https://avatars.githubusercontent.com/u/8165792?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkkrp","html_url":"https://github.com/mrkkrp","followers_url":"https://api.github.com/users/mrkkrp/followers","following_url":"https://api.github.com/users/mrkkrp/following{/other_user}","gists_url":"https://api.github.com/users/mrkkrp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkkrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkkrp/subscriptions","organizations_url":"https://api.github.com/users/mrkkrp/orgs","repos_url":"https://api.github.com/users/mrkkrp/repos","events_url":"https://api.github.com/users/mrkkrp/events{/privacy}","received_events_url":"https://api.github.com/users/mrkkrp/received_events","type":"User","site_admin":false},"repo":{"id":45776285,"name":"flycheck-haskell","full_name":"mrkkrp/flycheck-haskell","owner":{"login":"mrkkrp","id":8165792,"avatar_url":"https://avatars.githubusercontent.com/u/8165792?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkkrp","html_url":"https://github.com/mrkkrp","followers_url":"https://api.github.com/users/mrkkrp/followers","following_url":"https://api.github.com/users/mrkkrp/following{/other_user}","gists_url":"https://api.github.com/users/mrkkrp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkkrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkkrp/subscriptions","organizations_url":"https://api.github.com/users/mrkkrp/orgs","repos_url":"https://api.github.com/users/mrkkrp/repos","events_url":"https://api.github.com/users/mrkkrp/events{/privacy}","received_events_url":"https://api.github.com/users/mrkkrp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrkkrp/flycheck-haskell","description":"Improved Haskell support for Flycheck","fork":true,"url":"https://api.github.com/repos/mrkkrp/flycheck-haskell","forks_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/forks","keys_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/teams","hooks_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/hooks","issue_events_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/issues/events{/number}","events_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/events","assignees_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/assignees{/user}","branches_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/branches{/branch}","tags_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/tags","blobs_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/statuses/{sha}","languages_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/languages","stargazers_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/stargazers","contributors_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/contributors","subscribers_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/subscribers","subscription_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/subscription","commits_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/contents/{+path}","compare_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/merges","archive_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/downloads","issues_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/issues{/number}","pulls_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/pulls{/number}","milestones_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/milestones{/number}","notifications_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/labels{/name}","releases_url":"https://api.github.com/repos/mrkkrp/flycheck-haskell/releases{/id}","created_at":"2015-11-08T10:41:16Z","updated_at":"2015-11-08T10:41:17Z","pushed_at":"2015-11-11T10:05:01Z","git_url":"git://github.com/mrkkrp/flycheck-haskell.git","ssh_url":"git@github.com:mrkkrp/flycheck-haskell.git","clone_url":"https://github.com/mrkkrp/flycheck-haskell.git","svn_url":"https://github.com/mrkkrp/flycheck-haskell","homepage":null,"size":221,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flycheck:master","ref":"master","sha":"cf7c90d166c09c206601f8ebc5680c0149dccd33","user":{"login":"flycheck","id":5254142,"avatar_url":"https://avatars.githubusercontent.com/u/5254142?v=3","gravatar_id":"","url":"https://api.github.com/users/flycheck","html_url":"https://github.com/flycheck","followers_url":"https://api.github.com/users/flycheck/followers","following_url":"https://api.github.com/users/flycheck/following{/other_user}","gists_url":"https://api.github.com/users/flycheck/gists{/gist_id}","starred_url":"https://api.github.com/users/flycheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flycheck/subscriptions","organizations_url":"https://api.github.com/users/flycheck/orgs","repos_url":"https://api.github.com/users/flycheck/repos","events_url":"https://api.github.com/users/flycheck/events{/privacy}","received_events_url":"https://api.github.com/users/flycheck/received_events","type":"Organization","site_admin":false},"repo":{"id":15683822,"name":"flycheck-haskell","full_name":"flycheck/flycheck-haskell","owner":{"login":"flycheck","id":5254142,"avatar_url":"https://avatars.githubusercontent.com/u/5254142?v=3","gravatar_id":"","url":"https://api.github.com/users/flycheck","html_url":"https://github.com/flycheck","followers_url":"https://api.github.com/users/flycheck/followers","following_url":"https://api.github.com/users/flycheck/following{/other_user}","gists_url":"https://api.github.com/users/flycheck/gists{/gist_id}","starred_url":"https://api.github.com/users/flycheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flycheck/subscriptions","organizations_url":"https://api.github.com/users/flycheck/orgs","repos_url":"https://api.github.com/users/flycheck/repos","events_url":"https://api.github.com/users/flycheck/events{/privacy}","received_events_url":"https://api.github.com/users/flycheck/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flycheck/flycheck-haskell","description":"Improved Haskell support for Flycheck","fork":false,"url":"https://api.github.com/repos/flycheck/flycheck-haskell","forks_url":"https://api.github.com/repos/flycheck/flycheck-haskell/forks","keys_url":"https://api.github.com/repos/flycheck/flycheck-haskell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flycheck/flycheck-haskell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flycheck/flycheck-haskell/teams","hooks_url":"https://api.github.com/repos/flycheck/flycheck-haskell/hooks","issue_events_url":"https://api.github.com/repos/flycheck/flycheck-haskell/issues/events{/number}","events_url":"https://api.github.com/repos/flycheck/flycheck-haskell/events","assignees_url":"https://api.github.com/repos/flycheck/flycheck-haskell/assignees{/user}","branches_url":"https://api.github.com/repos/flycheck/flycheck-haskell/branches{/branch}","tags_url":"https://api.github.com/repos/flycheck/flycheck-haskell/tags","blobs_url":"https://api.github.com/repos/flycheck/flycheck-haskell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flycheck/flycheck-haskell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flycheck/flycheck-haskell/git/refs{/sha}","trees_url":"https://api.github.com/repos/flycheck/flycheck-haskell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flycheck/flycheck-haskell/statuses/{sha}","languages_url":"https://api.github.com/repos/flycheck/flycheck-haskell/languages","stargazers_url":"https://api.github.com/repos/flycheck/flycheck-haskell/stargazers","contributors_url":"https://api.github.com/repos/flycheck/flycheck-haskell/contributors","subscribers_url":"https://api.github.com/repos/flycheck/flycheck-haskell/subscribers","subscription_url":"https://api.github.com/repos/flycheck/flycheck-haskell/subscription","commits_url":"https://api.github.com/repos/flycheck/flycheck-haskell/commits{/sha}","git_commits_url":"https://api.github.com/repos/flycheck/flycheck-haskell/git/commits{/sha}","comments_url":"https://api.github.com/repos/flycheck/flycheck-haskell/comments{/number}","issue_comment_url":"https://api.github.com/repos/flycheck/flycheck-haskell/issues/comments{/number}","contents_url":"https://api.github.com/repos/flycheck/flycheck-haskell/contents/{+path}","compare_url":"https://api.github.com/repos/flycheck/flycheck-haskell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flycheck/flycheck-haskell/merges","archive_url":"https://api.github.com/repos/flycheck/flycheck-haskell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flycheck/flycheck-haskell/downloads","issues_url":"https://api.github.com/repos/flycheck/flycheck-haskell/issues{/number}","pulls_url":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls{/number}","milestones_url":"https://api.github.com/repos/flycheck/flycheck-haskell/milestones{/number}","notifications_url":"https://api.github.com/repos/flycheck/flycheck-haskell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flycheck/flycheck-haskell/labels{/name}","releases_url":"https://api.github.com/repos/flycheck/flycheck-haskell/releases{/id}","created_at":"2014-01-06T20:09:55Z","updated_at":"2015-11-05T01:05:16Z","pushed_at":"2015-11-11T10:05:01Z","git_url":"git://github.com/flycheck/flycheck-haskell.git","ssh_url":"git@github.com:flycheck/flycheck-haskell.git","clone_url":"https://github.com/flycheck/flycheck-haskell.git","svn_url":"https://github.com/flycheck/flycheck-haskell","homepage":null,"size":662,"stargazers_count":28,"watchers_count":28,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/48"},"html":{"href":"https://github.com/flycheck/flycheck-haskell/pull/48"},"issue":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/issues/48"},"comments":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/flycheck/flycheck-haskell/statuses/e2e243a18f0976c1b54127d25b82189df0022f7d"}}}}