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

ghcup set fails on windows #1215

Open
ryani opened this issue Jan 15, 2025 · 1 comment
Open

ghcup set fails on windows #1215

ryani opened this issue Jan 15, 2025 · 1 comment

Comments

@ryani
Copy link

ryani commented Jan 15, 2025

From ghcup tui, trying to set the ghc version fails:

[ Info  ] This Version of GHC you are trying to set is not installed.
[ ...   ] Would you like to install it first? [Y/N]:
y
[ Info  ] Setting now...
[ Info  ] This Version of GHC you are trying to set is not installed.
[ ...   ] Would you like to install it first? [Y/N]:
y
[ Info  ] Setting now...
[ Info  ] This Version of GHC you are trying to set is not installed.
[ ...   ] Would you like to install it first? [Y/N]:
n
Error: [GHCup-00130] The version 'ghcup' of the tool ghc is not installed.
Press enter to continue

Same GHCup-00130 error from the command line.

History: I had a previous installation of ghcup from a few years back that I tried to upgrade and it had this problem. I ran ghcup nuke, deleted c:\ghc, and reinstalled from the powershell script, and the same problem is still happening.

@ryani
Copy link
Author

ryani commented Jan 15, 2025

  • The version I am trying to set is installed.
  • In fact it's the only version installed, and it is currently the default ghc, although it's not listed as set in the ui
  • But in my old install I was trying to upgrade ghc versions and this prevented me from changing to the new version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant