Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load interface for pkg #48

Open
iamrecursion opened this issue Feb 22, 2017 · 2 comments
Open

Unable to load interface for pkg #48

iamrecursion opened this issue Feb 22, 2017 · 2 comments

Comments

@iamrecursion
Copy link

I wasn't sure whether I should file this against hsdev or SublimeHaskell, so please let me know if I should refile against the latter.

I've recently been having an issue with hsdev (via SublimeHaskell) reporting that it could not load interfaces for multiple packages. Said packages are available, and managed by stack, so no issues appear when running stack build. However, in the cases where the issue has been appearing, the libraries in question have not been available in cabal. Running cabal install pkgname will prevent the error from occurring.

The hsdev version was built with the system compiler (ghc-8.0.1) as hsdev cannot currently be built with stack (version bounds failures for all recent lts releases, according to stack solver. This seems to imply hsdev is unable to load interfaces from packages in the stack project, but please correct me if I'm wrong.

Are there any expected reasons that hsdev is unable to pick up the stack curated libraries?

Ideally, it would work with stack-managed packages, removing the requirement to maintain multiple unnecessary package versions on the system. It would also be great to be able to install hsdev via stack, removing the need for cabal-install entirely, but that is a separate issue.

@xldenis
Copy link

xldenis commented Mar 21, 2017

I'm experiencing the same issue with hsdev-0.2.2.1 built with stack (using extra-deps).

@jkeuhlen
Copy link

This seems to be the same problem I opened here: #59

However, when I try to do a cabal install text to fix the issue described there. Cabal tells me I already have it:

$ cabal install text
Resolving dependencies...
All the requested packages are already installed:
text-1.2.2.1
Use --reinstall if you want to reinstall anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants