{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/231","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/231/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/231/events","html_url":"https://github.com/commercialhaskell/stack/issues/231","id":86636888,"number":231,"title":"`stack build` in an empty directory downloads a new package cache","user":{"login":"chreekat","id":538538,"avatar_url":"https://avatars.githubusercontent.com/u/538538?v=3","gravatar_id":"","url":"https://api.github.com/users/chreekat","html_url":"https://github.com/chreekat","followers_url":"https://api.github.com/users/chreekat/followers","following_url":"https://api.github.com/users/chreekat/following{/other_user}","gists_url":"https://api.github.com/users/chreekat/gists{/gist_id}","starred_url":"https://api.github.com/users/chreekat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chreekat/subscriptions","organizations_url":"https://api.github.com/users/chreekat/orgs","repos_url":"https://api.github.com/users/chreekat/repos","events_url":"https://api.github.com/users/chreekat/events{/privacy}","received_events_url":"https://api.github.com/users/chreekat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T15:25:04Z","updated_at":"2015-06-09T15:42:17Z","closed_at":null,"body":"    b@fuzzbomb ~/tmp/foo $ stack build\r\n    PackageNoCabalFileFound \"/home/b/tmp/foo/\"\r\n    Writing default config file to: /home/b/tmp/foo/stack.yaml\r\n    Downloading build plan from: https://raw.githubusercontent.com/fpco/lts-haskell/master/lts-2.13.yaml\r\n\r\nThat seems like extra work for a failure condition."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/110407487","html_url":"https://github.com/commercialhaskell/stack/issues/231#issuecomment-110407487","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/231","id":110407487,"user":{"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},"created_at":"2015-06-09T15:42:17Z","updated_at":"2015-06-09T15:42:17Z","body":"Well, it's not exactly a failure condition. There are legitimate use cases here, e.g.:\r\n\r\n```\r\n$ stack build\r\n$ stack deps vector\r\n$ stack ghci\r\n```\r\n\r\nSo it seems at least somewhat reasonable for it to behave this way IMO."}}