Thanks Recursion,I tried that, only installing GHCup and not MSYS and friends, then using Rtoolsversion of MSYS, but this didn't work, perhaps because of a non-standard layoutof the tools in Rtools.FYI, placing Rtools\usr\bin in path (to get sh.exe and other Unix tools) breaksHaskell mode in emacs. When starting ghci with Ctrl-C Ctrol-L, it immediatelyterminates for no apparent reason. Removing Rtools from PATH fixes thisproblem!When different apps like R, GHCup, Stack, Chocolatey, Cygwin, etc. all installdifferent versions of MSYS, we are asking for trouble.DominickOn Tue, Feb 21, 2023 at 7:18 PM Eternal Recursion <eternal.recursion@proton.me> wrote:HI Dominick!It's been awhile since I discovered the proper incantations on Windoze, but what I remember is that installation went better if I already had Msys pre-installed, and simply told the ghcup installer where to find it (it asks at some point). I also found this helpful:Specifically the section about certificate authority errors. Disabling curl and using wget is what I recall doing.Sent with Proton Mail secure email.------- Original Message -------
On Tuesday, February 21st, 2023 at 6:23 PM, Dominick Samperi <djsamperi@gmail.com> wrote:
I watched an interesting YouTube video explaining how to install and usethe Haskell extension in VS code, but the information appears to beobsolete, because there is no mention of ghcup, and ghcup is nowrequired, along with a new version of the Haskell extension (the old oneis labeled "legacy").Unfortunately, I could not install ghcup on Windows due to obscure PowerShellsecurity issues, or missing libraries in MSYS. While wrestling with this problemI discovered that Unix tools from Rtools must not be in PATH while workingwith Stack, probably due to incompatible MSYS versions. But removing Rtoolsfrom PATH does not resolve the ghcup installation problems.Any tips on ghcup installation under Windows would be appreciated.Thanks,Dominick