-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Labels
Description
@wz1000 and @simonmichael want to be notified before every download with the options:
- yes
- no
- yes, don't ask again
- no, don't ask again
Option 3. and 4. would be set globally, for all projects.
@hasufell argued that this doesn't have clear semantics and the user should rather be able to freeze (or set) the toolchain configuration per project.
Currently, if a user doesn't want auto-updates, they can either:
- set
haskell.manageHLS
toPATH
and useghcup tui
or... - set
haskell.serverExecutablePath
to something interesting
Implementation-wise, this would require to manually check whether an update/download would be imminent before running ghcup run --hls <ver> --ghc <ver>
, which currently installs the entire toolchain in one go.