Thanks for the reply. I noticed that files in C:\Users\houde\AppData\Local\Programs\stack always revert back to read-only even if I change permissions or uncheck "read-only" . It does not seem to be due to "Controlled Folder Access" feature that comes with Windows Defender because I have another antivirus. Should I still open an issue on github because it does not seem related to stack. All my folders under AppData are read-only. Is there a way to tell stack to install ghc and other binaries to another folder ?
I'm on Windows 10 and installed stack with ghcup. Thanks Le dim. 18 sept. 2022 à 15:24, Mike Pilgrem <pub...@pilgrem.com> a écrit : > I use Stack on Windows 11, but I have not encountered that problem myself > and cannot recreate it with Stack 2.7.5 or 2.9.1 (pre-release). Please can > you raise an issue on Stack's GitHub repository ( > https://github.com/commercialhaskell/stack) and include your version of > Windows and the full output of the Stack command. Perhaps we can work out > how your Windows system and mine differ, with a view to finding a solution > for you. > > On Saturday, September 17, 2022 at 5:56:02 PM UTC+1 houd...@gmail.com > wrote: > >> Hello, >> >> I juste downloaded stack on my Windows PC. I get the following error when >> trying to compile a simple Haskell program. >> >> Extracted 15 filesERROR: Cannot create symbolic link : A required >> privilege is not held by the client >> Problem while decompressing msys2-20220503.tar >> >> BTW, anyone programming Haskell on Windows ? Should I switch to Linux ? >> >> Thanks >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "haskell-stack" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/haskell-stack/1oVxBPTSW4M/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > haskell-stack+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/haskell-stack/6f18c8c2-4014-4b36-86eb-c10e51075061n%40googlegroups.com > <https://groups.google.com/d/msgid/haskell-stack/6f18c8c2-4014-4b36-86eb-c10e51075061n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/CAO0wYKQRsvf%2B-HjJOfsFs-hystH0VNfTUSL%3DiG8qErFCimDxbA%40mail.gmail.com.