<div dir="ltr">Downloading msys2 directly (not using the version in Rtools) and then installing GHCup with<div>a pointer to the downloaded version of msys2 works, thanks for the tip. So the problem</div><div>going forward is for everyone to agree on one version of msys2 instead of maintaining</div><div>their own version! This is the way things used to be when there was only cygwin.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 21, 2023 at 7:55 PM Dominick Samperi <<a href="mailto:djsamperi@gmail.com">djsamperi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Recursion,<div><br></div><div>I tried that, only installing GHCup and not MSYS and friends, then using Rtools</div><div>version of MSYS, but this didn't work, perhaps because of a non-standard layout</div><div>of the tools in Rtools.</div><div><br></div><div>FYI, placing Rtools\usr\bin in path (to get sh.exe and other Unix tools) breaks</div><div>Haskell mode in emacs. When starting ghci with Ctrl-C Ctrol-L, it immediately</div><div>terminates for no apparent reason. Removing Rtools from PATH fixes this</div><div>problem!</div><div><br></div><div>When different apps like R, GHCup, Stack, Chocolatey, Cygwin, etc. all install</div><div>different versions of MSYS, we are asking for trouble.</div><div><br></div><div>Dominick</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 21, 2023 at 7:18 PM Eternal Recursion <<a href="mailto:eternal.recursion@proton.me" target="_blank">eternal.recursion@proton.me</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-family:Arial,sans-serif;font-size:14px">HI Dominick!</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px">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:</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px"><span><a rel="noreferrer nofollow noopener" href="https://www.haskell.org/ghcup/guide/#troubleshooting" target="_blank">https://www.haskell.org/ghcup/guide/#troubleshooting</a></span></div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px">Specifically the section about certificate authority errors. Disabling curl and using wget is what I recall doing.<br></div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div>
<div style="font-family:Arial,sans-serif;font-size:14px">
    <div>
        
            </div>
    
            <div>
        Sent with <a href="https://proton.me/" rel="noopener noreferrer" target="_blank">Proton Mail</a> secure email.
    </div>
</div>
<div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div>
        ------- Original Message -------<br>
        On Tuesday, February 21st, 2023 at 6:23 PM, Dominick Samperi <<a href="mailto:djsamperi@gmail.com" target="_blank">djsamperi@gmail.com</a>> wrote:<br><br>
        <blockquote type="cite">
            <div dir="ltr"><div>I watched an interesting YouTube video explaining how to install and use</div><div>the Haskell extension in VS code, but the information appears to be</div><div>obsolete, because there is no mention of ghcup, and ghcup is now</div><div>required, along with a new version of the Haskell extension (the old one</div><div>is labeled "legacy").</div><div><br></div><div>Unfortunately, I could not install ghcup on Windows due to obscure PowerShell</div><div>security issues, or missing libraries in MSYS. While wrestling with this problem</div><div>I discovered that Unix tools from Rtools must not be in PATH while working</div><div>with Stack, probably due to incompatible MSYS versions. But removing Rtools</div><div>from PATH does not resolve the ghcup installation problems.</div><div><br></div><div>Any tips on ghcup installation under Windows would be appreciated.</div><div><br></div><div>Thanks,</div><div>Dominick</div></div>

        </blockquote><br>
    </div></blockquote></div>
</blockquote></div>