{"action":"created","issue":{"url":"https://api.github.com/repos/gibiansky/IHaskell/issues/581","labels_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/581/comments","events_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/581/events","html_url":"https://github.com/gibiansky/IHaskell/issues/581","id":109346779,"number":581,"title":"IHasell not finding some packages","user":{"login":"orome","id":757327,"avatar_url":"https://avatars.githubusercontent.com/u/757327?v=3","gravatar_id":"","url":"https://api.github.com/users/orome","html_url":"https://github.com/orome","followers_url":"https://api.github.com/users/orome/followers","following_url":"https://api.github.com/users/orome/following{/other_user}","gists_url":"https://api.github.com/users/orome/gists{/gist_id}","starred_url":"https://api.github.com/users/orome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orome/subscriptions","organizations_url":"https://api.github.com/users/orome/orgs","repos_url":"https://api.github.com/users/orome/repos","events_url":"https://api.github.com/users/orome/events{/privacy}","received_events_url":"https://api.github.com/users/orome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-01T17:32:35Z","updated_at":"2015-10-01T18:34:01Z","closed_at":null,"body":"I recently switched from using Haskell Plarform to using Homebrew for managing my Haskell installation. This change was without issues for GHCi but IHaskell is now unable to find many packages. For example  if I \r\n\r\n    import Data.List.Split \r\n\r\nI get\r\n\r\n> Failed to load interface for ‘Data.List.Split’\r\n\r\neven though the same import statement works fine in GHCi.\r\n\r\nIs there something I can do to fix this? What would be causing IHaskell to be looking in the wrong location for installed packages?\r\n\r\n---\r\n\r\nFWIW, this occurred following an upgrade from OS X 10.10 to 10.11.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27094728-ihasell-not-finding-some-packages?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/gibiansky/IHaskell/issues/comments/144810983","html_url":"https://github.com/gibiansky/IHaskell/issues/581#issuecomment-144810983","issue_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/581","id":144810983,"user":{"login":"orome","id":757327,"avatar_url":"https://avatars.githubusercontent.com/u/757327?v=3","gravatar_id":"","url":"https://api.github.com/users/orome","html_url":"https://github.com/orome","followers_url":"https://api.github.com/users/orome/followers","following_url":"https://api.github.com/users/orome/following{/other_user}","gists_url":"https://api.github.com/users/orome/gists{/gist_id}","starred_url":"https://api.github.com/users/orome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orome/subscriptions","organizations_url":"https://api.github.com/users/orome/orgs","repos_url":"https://api.github.com/users/orome/repos","events_url":"https://api.github.com/users/orome/events{/privacy}","received_events_url":"https://api.github.com/users/orome/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T18:34:01Z","updated_at":"2015-10-01T18:34:01Z","body":"Here's one possibility: IHaskell is only using one package db, rather than the full set. When I \r\n\r\n    ghc-pkg list\r\n\r\nI see two package dbs:\r\n\r\n    /usr/local/Cellar/ghc/7.10.2/lib/ghc-7.10.2/package.conf.d\r\n\r\nand\r\n\r\n    /Users/Rax/.ghc/x86_64-darwin-7.10.2/package.conf.d\r\n\r\nGHC, GHCi, Cabal, and Stack all see both of these as they should, but IHaskell only seems to be able to import a package if it is in the first, and knows nothing about packages in the second."}}