-
Notifications
You must be signed in to change notification settings - Fork 842
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
"I don't know how to install GHC on your system configuration" #4934
Comments
@chris-martin could you share a verbose log? |
It is NixOS 19.03. Yes, I used
|
But @chris-martin #4864 is about non-project commands being run without a project context, what could it have to do with a normal |
Hm, I just assumed it was the same issue because I was getting exactly the same error message about Docker. Thank you, I didn't know about the
|
My mistake, I do not have a new NixOS issue - you're right, I only need the workaround when running non-project commands. Once a project is initialized, I can then exit nix-shell and run with Nix integration as normal. So my only remaining concern in this issue is I think there is an opportunity improve the error message output. |
Regarding the error message there is already #4539 with a somewhat different but a similar proposal |
I was getting the error because I named the file
|
Add |
For me this results in
|
I am having the same problem with this resulting in an error |
@if-loop69420, although you say that it is the same problem, given the passage of time since the initial post, if you could post details of what you are doing and what you are experiencing, that would assist. |
I am going to close this issue given the passage of time. |
I'm trying to come up with a workaround for the broken Nix integration in version 2.1.1.1 (#4864).
It seems that the version of GHC used by the resolver nightly-2019-07-04 is 8.6.5, and that also appears to be the version that is on my PATH here. Why is
stack build
trying to install GHC instead of using the one that is there? The error message does not explicitly state that it can't find the existing GHC installation; is that what I am supposed to infer, or is there some other reason that might trigger Stack to try to install its own? The error message is not very specific about what exactly Stack needs or where it's looking for it.The text was updated successfully, but these errors were encountered: