{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/2633","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2633/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2633/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2633/events","html_url":"https://github.com/commercialhaskell/stack/issues/2633","id":179124989,"number":2633,"title":"Have setup-info support specification of a ghc build directory","user":{"login":"mgsloan","id":22570,"avatar_url":"https://avatars.githubusercontent.com/u/22570?v=3","gravatar_id":"","url":"https://api.github.com/users/mgsloan","html_url":"https://github.com/mgsloan","followers_url":"https://api.github.com/users/mgsloan/followers","following_url":"https://api.github.com/users/mgsloan/following{/other_user}","gists_url":"https://api.github.com/users/mgsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/mgsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgsloan/subscriptions","organizations_url":"https://api.github.com/users/mgsloan/orgs","repos_url":"https://api.github.com/users/mgsloan/repos","events_url":"https://api.github.com/users/mgsloan/events{/privacy}","received_events_url":"https://api.github.com/users/mgsloan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20enhancement","name":"type: enhancement","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/6","html_url":"https://github.com/commercialhaskell/stack/milestones/P2:%20Should","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/6/labels","id":1191309,"number":6,"title":"P2: Should","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":189,"closed_issues":247,"state":"open","created_at":"2015-07-02T18:20:49Z","updated_at":"2016-09-26T20:43:10Z","due_on":"2016-12-31T08:00:00Z","closed_at":null},"comments":1,"created_at":"2016-09-26T02:05:25Z","updated_at":"2016-09-26T20:50:35Z","closed_at":null,"body":"I haven't put a great deal of thought into this idea, but it seems like it's a good feature for those developing on GHC while using stack.  The idea is to allow pointing at the root of a GHC source tree, or its `inplace` dir, and running it directly out of there.\r\n\r\nSo, in your global `config.yaml`, you could have something like the following:\r\n\r\n```\r\nghc:\r\n    linux64:\r\n        8.0\r\n            version: 8.0.2\r\n            ghc-source-path: /home/mgsloan/oss/haskell/ghc\r\n```\r\n\r\nAnd it would magically use your development version of GHC!\r\n\r\nI hope to be returning to iterating on my in-flight ghc patch soon, so that will be a good excuse to revisit this."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/249693536","html_url":"https://github.com/commercialhaskell/stack/issues/2633#issuecomment-249693536","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2633","id":249693536,"user":{"login":"mgsloan","id":22570,"avatar_url":"https://avatars.githubusercontent.com/u/22570?v=3","gravatar_id":"","url":"https://api.github.com/users/mgsloan","html_url":"https://github.com/mgsloan","followers_url":"https://api.github.com/users/mgsloan/followers","following_url":"https://api.github.com/users/mgsloan/following{/other_user}","gists_url":"https://api.github.com/users/mgsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/mgsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgsloan/subscriptions","organizations_url":"https://api.github.com/users/mgsloan/orgs","repos_url":"https://api.github.com/users/mgsloan/repos","events_url":"https://api.github.com/users/mgsloan/events{/privacy}","received_events_url":"https://api.github.com/users/mgsloan/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T20:50:35Z","updated_at":"2016-09-26T20:50:35Z","body":"Good point @simonmar, thanks for commenting !  It is because I am not yet familiar with GHC development workflows.\r\n\r\nWith that considered, this would look like:\r\n\r\n```\r\nghc:\r\n    linux64:\r\n        8.0\r\n            version: 8.0.2\r\n            bin-path: /home/mgsloan/oss/haskell/ghc/inplace/bin/ghc-stage2\r\n```"}}
{"actor":{"display_login":"mgsloan"}}