{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/904","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/904/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/904/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/904/events","html_url":"https://github.com/commercialhaskell/stack/issues/904","id":104529651,"number":904,"title":"be able to specify default values for `system-ghc` and `resolver`","user":{"login":"erantapaa","id":45424,"avatar_url":"https://avatars.githubusercontent.com/u/45424?v=3","gravatar_id":"","url":"https://api.github.com/users/erantapaa","html_url":"https://github.com/erantapaa","followers_url":"https://api.github.com/users/erantapaa/followers","following_url":"https://api.github.com/users/erantapaa/following{/other_user}","gists_url":"https://api.github.com/users/erantapaa/gists{/gist_id}","starred_url":"https://api.github.com/users/erantapaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erantapaa/subscriptions","organizations_url":"https://api.github.com/users/erantapaa/orgs","repos_url":"https://api.github.com/users/erantapaa/repos","events_url":"https://api.github.com/users/erantapaa/events{/privacy}","received_events_url":"https://api.github.com/users/erantapaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T17:10:40Z","updated_at":"2015-09-03T02:15:09Z","closed_at":null,"body":"Is there a way to default the value of `system-ghc` and `resolver` when creating a new stack.yaml?\r\n\r\nI've tried adding them to my ~/.stack/global/stack.yaml file, but it doesn't seem to have any effect when using `stack new`.\r\n\r\nBtw, I think defaulting `system-ghc: false` would be a good idea, especially for beginners if they have a corrupted ghc package db."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/137302028","html_url":"https://github.com/commercialhaskell/stack/issues/904#issuecomment-137302028","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/904","id":137302028,"user":{"login":"erantapaa","id":45424,"avatar_url":"https://avatars.githubusercontent.com/u/45424?v=3","gravatar_id":"","url":"https://api.github.com/users/erantapaa","html_url":"https://github.com/erantapaa","followers_url":"https://api.github.com/users/erantapaa/followers","following_url":"https://api.github.com/users/erantapaa/following{/other_user}","gists_url":"https://api.github.com/users/erantapaa/gists{/gist_id}","starred_url":"https://api.github.com/users/erantapaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erantapaa/subscriptions","organizations_url":"https://api.github.com/users/erantapaa/orgs","repos_url":"https://api.github.com/users/erantapaa/repos","events_url":"https://api.github.com/users/erantapaa/events{/privacy}","received_events_url":"https://api.github.com/users/erantapaa/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T02:15:09Z","updated_at":"2015-09-03T02:15:09Z","body":"Thanks for the reply!\r\n\r\nRe the default value of `system-ghc`... I have a simple project which will not build unless I use `system-ghc: false`. If you want to help me debug the problem I can give you more details."}}