-
Notifications
You must be signed in to change notification settings - Fork 841
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 ghci
doesn't work while stack build
does
#665
Comments
The LVish project is also one where
That looks like maybe a mixup with the dependencies of the different targets. I.e. On a related note, I also think it is too bad that
|
Yes, test/bench dependencies are another thing that doesn't work out of the box in |
I met the same issue when trying to use my GitHub fork of # stack.yaml snippet.
packages:
- '.'
- location:
git: https://github.com/duplode/zip-conduit
commit: 1eefc8bd91d5f38b760bce1fb8dd16d6e05a671d
extra-dep: true In such a situation one would never be interested in running the benchmarks of |
Never mind my complaint above - the |
@Fuuzetsu Do you have a minimal test project I can clone to reproduce and fix? |
@chrisdone I can describe how to make one, it's simple:
Workaround:
|
I think @mitchellwrosen your problem differs to that of @Fuuzetsu. |
Yes, it does. I'm a bit constrained on time right now but maybe I can produce something soon, sorry for delays. |
Oops, I was looking at @rrnewton's comment. Sorry! |
I think I'm having this same issue... to reproduce:
Expected behavior: ghci is launched with the project loaded
|
@rpglover64 Are you on a recent stack? |
Version 0.1.3.0, Git revision 385332d |
Your problem's been fixed since then, try latest master. :-) |
I'm almost annoyed at how fast stack is moving... On the other hand, my issues are getting fixed. 😃 Thanks. |
Hi guys, I've opened a GHC ticket to track this issue. https://ghc.haskell.org/trac/ghc/ticket/10827 |
Thanks @ezyang! |
I'm going to close this issue, since it's old and the GHCi support has had lots of improvements since then. Feel free to open additional issues with concrete cases of the GHCI support being problematic. Also, I've added some warnings which hopefully will make it clearer why things don't work, at least in the presence of extension flags: #1270 |
I have a project here where
stack build
works happily butstack ghci
does not. I would expect that ifstack build
can build the project,stack ghci
should have no problem giving me a repl. I inline the description of the particular issue from the mailing list:In my case it is about CPP being used but this is a bit of a general question.
Using stack from a day or so old git checkout.
The text was updated successfully, but these errors were encountered: