-
Notifications
You must be signed in to change notification settings - Fork 4
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
Windows support: dependency on unix
via simple-cmd
#8
Comments
Thanks a lot for reporting this. |
Thanks for your quick reply. Yes, I can build flags:
mintty:
Win32-2-13-1: False This is because the following lines in It seems package Besides this flag thing, the package did build successfully. |
I did find another issue, though. I tried I guess there are also other kinds of path differences: |
Thanks! Probably STACK_ROOT could be supported for Windows.
Ya, I think on Linux it is "~/.stack/programs/x86_64-linux". |
Sorry for the delay in my reply. It turned out I have underestimated the differences between UNIX platforms and Windows. Changing the code to support different installation directories is relatively easy, provided that we are willing to allow invocations of the
The hard part is how to recognise all the directories in
The only way I see to determine the compiler version for each Now the problem is that, due to the difference in structures of snapshot directories on UNIX and Windows, we will have to maintain two different approaches in parallel (currently in my local copy I do runtime detection using Edit: I just noticed there are quite a few |
Okay using |
Hi. First, big thanks for your tool. It helped me free more than 10GiB of disk space on my WSL2 install.
I am currently not able to install this tool on Windows, and this is what I get from stack:
I believe this is due to the (required) dependency on
unix
insimple-cmd
.P.S. I see in #5 this topic was discussed, but not resolved at that time.
The text was updated successfully, but these errors were encountered: