{"action":"closed","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1512","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1512/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1512/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1512/events","html_url":"https://github.com/commercialhaskell/stack/issues/1512","id":121968928,"number":1512,"title":"stack seems to ignore system ghc when ~/.stack/programs/ exists?","user":{"login":"juhp","id":82731,"avatar_url":"https://avatars.githubusercontent.com/u/82731?v=3","gravatar_id":"","url":"https://api.github.com/users/juhp","html_url":"https://github.com/juhp","followers_url":"https://api.github.com/users/juhp/followers","following_url":"https://api.github.com/users/juhp/following{/other_user}","gists_url":"https://api.github.com/users/juhp/gists{/gist_id}","starred_url":"https://api.github.com/users/juhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhp/subscriptions","organizations_url":"https://api.github.com/users/juhp/orgs","repos_url":"https://api.github.com/users/juhp/repos","events_url":"https://api.github.com/users/juhp/events{/privacy}","received_events_url":"https://api.github.com/users/juhp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T03:38:37Z","updated_at":"2015-12-15T10:17:48Z","closed_at":"2015-12-15T10:17:48Z","body":"Not sure if this is a \"feature\" but stack seems to ignore system installed ghc after setting up a user ghc version with \"stack setup\":\r\n\r\n```\r\n$ rpm -q ghc\r\nghc-7.8.4-46.fc23.x86_64\r\n$ stack install yi\r\nRun from outside a project, using implicit global project config\r\nUsing resolver: lts-2.18 from implicit global project's config file: /home/petersen/.stack/global/stack.yaml\r\nCompiler version mismatched, found ghc-7.10.2 (x86_64), but expected minor version match with ghc-7.8.4 (x86_64) (based on resolver setting in /home/petersen/.stack/global/stack.yaml).\r\nTry running \"stack setup\" to install the correct GHC into /home/petersen/.stack/programs/x86_64-linux/\r\n```\r\n\r\nWell I guess workaround/fix is simple enough but I'd really like to be able to continue using the system installed ghc version with stack without having it to re-install it under `~/.stack/programs/`.\r\n(I didn't try to look at the related stack code yet, so not sure if this is an oversight or by design.)"}}