{"action":"closed","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/2176","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2176/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2176/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2176/events","html_url":"https://github.com/commercialhaskell/stack/issues/2176","id":156143541,"number":2176,"title":"stack ghci outside of project prints error about no targets","user":{"login":"silky","id":129525,"avatar_url":"https://avatars.githubusercontent.com/u/129525?v=3","gravatar_id":"","url":"https://api.github.com/users/silky","html_url":"https://github.com/silky","followers_url":"https://api.github.com/users/silky/followers","following_url":"https://api.github.com/users/silky/following{/other_user}","gists_url":"https://api.github.com/users/silky/gists{/gist_id}","starred_url":"https://api.github.com/users/silky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silky/subscriptions","organizations_url":"https://api.github.com/users/silky/orgs","repos_url":"https://api.github.com/users/silky/repos","events_url":"https://api.github.com/users/silky/events{/privacy}","received_events_url":"https://api.github.com/users/silky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-22T09:29:21Z","updated_at":"2016-05-23T01:00:28Z","closed_at":"2016-05-23T01:00:28Z","body":"consider\r\n\r\n```\r\n07:17 PM noon ∈ ~>stack --version\r\nVersion 1.1.3, Git revision 8f7e62fbe3620a4b0ae5eb833cebfa50820f5050 (dirty) (3661 commits) x86_64 hpack-0.14.0\r\n07:17 PM noon ∈ ~>stack ghci     \r\nRun from outside a project, using implicit global project config\r\nUsing resolver: lts-5.17 from implicit global project's config file: /home/noon/.stack/global-project/stack.yaml\r\nError parsing targets: The specified targets matched no packages.\r\nPerhaps you need to run 'stack init'?\r\nWarning: build failed, but optimistically launching GHCi anyway\r\nConfiguring GHCi with the following packages: \r\nGHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help\r\nOk, modules loaded: none.\r\nϟ> \r\n````\r\n\r\nglancing around the code\r\n - https://github.com/commercialhaskell/stack/blob/b6e01f2339a084a6345a4dfdbc4694a7168e3ae9/src/Stack/Ghci.hs#L280\r\n - https://github.com/commercialhaskell/stack/blob/0f1d6d1e8f86a1388b23a0b743a613adaeac406e/src/Stack/Build/Target.hs#L304\r\n\r\ni feel like `AllowNoTargets` should be the value at this point and thus no error; but it doesn't appear to be the case, and i can't figure out why right this minute. i'm sure i'm missing something quite obvious ..."}}
{"actor":{"display_login":"mgsloan"}}