-
Notifications
You must be signed in to change notification settings - Fork 844
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
Using stack ghci outside of any project fails #1304
Comments
I can reproduce this. Perhaps related to #1222. |
I cannot reproduce this. My stack version is master from approximately 24 hours ago. So the problem has been introduced later? Does |
@rubik: What's the output of |
Ah perfect, I forgot that the commit was in the version. Here it is:
EDIT: I also forgot that the last build failed, and actually this version is from 25 days ago. I suppose a git bisect would quickly find the offending commit. I would do it myself, but as of now I'm stuck with an old computer which takes ages to compile Stack, so it's really not feasible. |
I encountered this problem yesterday and have actually done a bisect. It's caused by badca16. I hinted at a possible fix in the comments of that commit but I'm not sure if that's the right way to do it so I didn't submit a PR. Also a separate issue is that even with that fix there is a huge wall of text representing error messages which don't make any sense if we're running ghci outside of a project since. I was planning to open a separate issue for that once it's working again. |
@cocreature: Nice analysis! 👍 |
I don't think the usage of It certainly makes sense to not pass in |
Ahah, it was Sorry for introducing the bug, y'all! At least the fix was easy. Thanks for catching it! |
I sometimes use
stack ghci
to play with packages installed in the default snapshot db.This used to work with v0.1.6.0 but is no longer possible with the current master.
Verbose output:
The text was updated successfully, but these errors were encountered: