{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/2931","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2931/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2931/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2931/events","html_url":"https://github.com/commercialhaskell/stack/issues/2931","id":201100789,"number":2931,"title":"`stack --system-ghc exec` requires network","user":{"login":"wereHamster","id":34538,"avatar_url":"https://avatars.githubusercontent.com/u/34538?v=3","gravatar_id":"","url":"https://api.github.com/users/wereHamster","html_url":"https://github.com/wereHamster","followers_url":"https://api.github.com/users/wereHamster/followers","following_url":"https://api.github.com/users/wereHamster/following{/other_user}","gists_url":"https://api.github.com/users/wereHamster/gists{/gist_id}","starred_url":"https://api.github.com/users/wereHamster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wereHamster/subscriptions","organizations_url":"https://api.github.com/users/wereHamster/orgs","repos_url":"https://api.github.com/users/wereHamster/repos","events_url":"https://api.github.com/users/wereHamster/events{/privacy}","received_events_url":"https://api.github.com/users/wereHamster/received_events","type":"User","site_admin":false},"labels":[{"id":222272034,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20discuss","name":"type: discuss","color":"fad8c7","default":false},{"id":205827133,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20enhancement","name":"type: enhancement","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/1","html_url":"https://github.com/commercialhaskell/stack/milestone/1","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/1/labels","id":1111900,"number":1,"title":"P3: Optional","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":205,"closed_issues":139,"state":"open","created_at":"2015-05-15T10:03:10Z","updated_at":"2017-02-24T01:37:57Z","due_on":"2017-01-31T08:00:00Z","closed_at":null},"comments":4,"created_at":"2017-01-16T19:26:29Z","updated_at":"2017-02-27T20:27:57Z","closed_at":null,"body":"```\r\n$ stack --system-ghc exec -- bash -c 'echo $PATH' \r\nHttpExceptionRequest Request {\r\n  host                 = \"s3.amazonaws.com\"\r\n  port                 = 443\r\n  secure               = True\r\n  requestHeaders       = []\r\n  path                 = \"/haddock.stackage.org/snapshots.json\"\r\n  queryString          = \"\"\r\n  method               = \"GET\"\r\n  proxy                = Nothing\r\n  rawBody              = False\r\n  redirectCount        = 10\r\n  responseTimeout      = ResponseTimeoutDefault\r\n  requestVersion       = HTTP/1.1\r\n}\r\n (InternalException (HandshakeFailed (Error_Protocol (\"certificate rejected: [NameMismatch \\\"s3.amazonaws.com\\\"]\",True,CertificateUnknown))))\r\n```\r\n\r\nI wasn't expecting that. Feels wrong to require network to be available for `stack --system-ghc exec`."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/282842906","html_url":"https://github.com/commercialhaskell/stack/issues/2931#issuecomment-282842906","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2931","id":282842906,"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":"2017-02-27T20:27:57Z","updated_at":"2017-02-27T20:27:57Z","body":"One good way to work around this is to have your own `stack.yaml`, this way it shouldn't need to initialize a global project."}}
{"actor":{"display_login":"mgsloan"}}