-
Notifications
You must be signed in to change notification settings - Fork 843
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
stack repl fails when main library was not yet built #4616
Comments
Is this the same as #2790? |
I'm putting in P1 for now, though it may get dropped to P2. I also think it may be related to component-based builds, in the sense that once we're looking at components, it should be easier to explicitly say "the library component is a dependency of the executable component." So pinging issue #4745 |
I think we have an issue in the haskell-language-server repo that has the same cause. As hls relies in the |
Any progress on this one? stack+hls users experience is being poor due to this, thanks! |
I think this is still an issue with Stack 2.15.5. |
General summary/comments
Stack fails loading executable component if it depends on package main library and it wasn't yet built.
Steps to reproduce
stack repl reexport:exe:reexport
.Expected
Repl should load fine.
Actual
Loading fails with
Stack version
The same is on
master
withMethod of installation
master
Also it should be noted that the same works fine with
cabal-install-2.4.1.0
:The text was updated successfully, but these errors were encountered: