-
Notifications
You must be signed in to change notification settings - Fork 12
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
Use MSYS2 instead of MSYS1 #20
Comments
Given MSYS1 works, I don't think installing MSYS2 is going to offer any significant advantages. It's newer, so a good reason to upgrade at some point, but these things are very hard to test they don't make some obscure bit worse. The reason it's recommended on the GHC wiki is because it's faster and better for compiling GHC itself - if MinGHC was capable of easily compiling GHC itself that would be a compelling reason to have MinGHC ship MSYS2. I'm going to get a new GHC compiling machine shortly, so might take a look then. |
In my experience, MSYS2 just works as a replacement. The big advantage is pacman for package management. There are problems with updates though, when the machine needs to be restarted to unload the dll... It would be great to be able to compiler GHC with minghc, it would significantly lower the barrier for many people. |
Sorry for hijacking this thread, but is there a document/page describing how your distributions differ from just downloading MSYS and GHC? I'm in the process of making a GHC package for MSYS2 and I'd be glad if I we could combine our experiences to make it work well.
When/how has this happened? I've never had to do this. I'm genuinely interested in this, because such situations could be a big problem for us and our users. |
Hi @elieux - our package is basically downloading both, shoving in the same installer. We don't do anything clever. |
@elieux please refer to the MSYS2 installation & update instructions. In EDIT: I have just updated my MSYS2 and the procedure works very well. Certainly, the biggest advantage over MSYS1 is that it is being continuously updated and we can expect it to continue working on Windows 10 and beyond in the future. |
Finally, I would like to add that since MSYS2 is being recommended on the official Haskell websites, many people are using it (I presume). Getting MSYS1 in MinGHC is certainly an inconvenience for them and myself. I have Makefiles and other scripts that rely on the ability to install basic packages such as |
Patches welcome :). I don't have any time to invest at the moment and MinGHC, so don't have any intention of doing anything significant in the next month or so. Alternatively, I will eventually get to the issues and try and sort some of them out. |
@mantkiew, there's no mention of needing to restart your machine. The only clumsy thing that is sometimes needed, is to close all running MSYS2 windows and processes.
Hopefully, I'll get the MSYS2 package working soon(-ish) and that should satisfy some of the people who'd like to get GHC on MSYS2. |
We're now piggybacking off of MSYS2 that comes with Git. |
MSYS2 is recommended on both Haskell Wiki and GHC Wiki.
The text was updated successfully, but these errors were encountered: