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

Abierto
#559 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@fendor ya está trabajando en esto.

Desde el 25/3/2022.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

type: discussion

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?
Lenguaje dominante
TypeScript
Estrellas
594
Forks
99
Merge medio
18 h 19 min
PR fusionados (30 d)
4

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de haskell/vscode-haskell

Todos los issues de haskell/vscode-haskell

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.