Skip to content
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

[Discussion] Install ghcup (optionally, on user request) via extension? #559

Open
hasufell opened this issue Mar 25, 2022 · 0 comments
Open
Assignees

Comments

@hasufell
Copy link
Member

Currently we don't and refer the user to the ghcup download homepage, because:

  1. it forces them to get a basic understanding of what ghcup is and how they can use it outside of VSCode
  2. it requires them to set up PATH properly and understand how to run ghc/ghci outside of VSCode
  3. on windows, it also installs msys2 on demand (or lets them point to an existing msys2), sets up cabal config and environment variables
    • ghcup itself currently cannot install msys2, only the powershell bootstrap script

@wz1000 suggested that the extension may install ghcup. The main challenges here are:

  1. how to deal with msys2 on windows
  2. can we run the interactive bootstrap scripts on both linux and windows through the extension?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants