Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

HIE crashes on HIE source with explicit stack cradle. #1535

Open
fendor opened this issue Jan 1, 2020 · 1 comment
Open

HIE crashes on HIE source with explicit stack cradle. #1535

fendor opened this issue Jan 1, 2020 · 1 comment

Comments

@fendor
Copy link
Collaborator

fendor commented Jan 1, 2020

Relevant issue seems to be commercialhaskell/stack#4564.
Seemingly, stack repl does not work on a projet with an internal library.

If you supply the flag stack repl --no-package-hiding it works, however, there is no target such as haskell-ide-engine:lib:hie-utils-test, therefore that component can not be loaded with an explicit stack hie.yaml

I currently dont know how c-h handles this and if this works better.

@Anrock
Copy link
Collaborator

Anrock commented May 17, 2020

Same thing in HLS :(

marcin-rzeznicki added a commit to marcin-rzeznicki/stackcollapse-ghc that referenced this issue May 22, 2020
Unfortunately there are lot of things that private libraries break: hie, stack repl etc.
There are bugs that need to be solved before this can be used:
 - commercialhaskell/stack#4564
 - haskell/haskell-ide-engine#1535
 - haskell/cabal#6211
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants