{"action":"closed","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1557","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1557/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1557/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1557/events","html_url":"https://github.com/commercialhaskell/stack/issues/1557","id":123483234,"number":1557,"title":"stack does not allow using an external package from ghci","user":{"login":"feuerbach","id":24844,"avatar_url":"https://avatars.githubusercontent.com/u/24844?v=3","gravatar_id":"","url":"https://api.github.com/users/feuerbach","html_url":"https://github.com/feuerbach","followers_url":"https://api.github.com/users/feuerbach/followers","following_url":"https://api.github.com/users/feuerbach/following{/other_user}","gists_url":"https://api.github.com/users/feuerbach/gists{/gist_id}","starred_url":"https://api.github.com/users/feuerbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feuerbach/subscriptions","organizations_url":"https://api.github.com/users/feuerbach/orgs","repos_url":"https://api.github.com/users/feuerbach/repos","events_url":"https://api.github.com/users/feuerbach/events{/privacy}","received_events_url":"https://api.github.com/users/feuerbach/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/component:%20ghci","name":"component: ghci","color":"bfdadc"},{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20bug","name":"type: bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5","html_url":"https://github.com/commercialhaskell/stack/milestones/P1:%20Must","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5/labels","id":1166824,"number":5,"title":"P1: Must","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":4,"closed_issues":217,"state":"open","created_at":"2015-06-16T14:23:31Z","updated_at":"2015-12-29T00:18:37Z","due_on":"2015-11-30T08:00:00Z","closed_at":null},"comments":5,"created_at":"2015-12-22T13:38:06Z","updated_at":"2015-12-29T00:18:37Z","closed_at":"2015-12-29T00:18:37Z","body":"I have a library that I want to debug. For that, I need a package that's not among the library's dependencies (`base16-bytestring`). But stack ghci would not allow me to do that, even if I pass `--package`:\r\n\r\n```\r\n% stack ghci --package base16-bytestring presta-lib:lib \r\nThe following GHC options are incompatible with GHCi and have not been passed to it: -O0\r\nConfiguring GHCi with the following packages: presta-lib\r\nGHCi, version 7.10.2: http://www.haskell.org/ghc/  :? for help\r\n...\r\nOk, modules loaded: ...\r\n> :m +Data.ByteString.Base16 Data.SafeCopy Data.Serialize\r\n\r\n<no location info>:\r\n    Could not find module ‘Data.ByteString.Base16’\r\n    It is a member of the hidden package ‘base16-bytestring-0.1.1.6@base1_LGFgY5jaffY4IePNqJx55U’.\r\n\r\n% stack --version\r\nVersion 0.1.11.0, Git revision 189d677ca6d63012ebe56083c9bee49f635bcc0d (dirty) (2919 commits) x86_64\r\n```"}}