You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ Info ] Removing ghc-x.y.z symlinks
[ Info ] Removing/rewiring ghc-x.y symlinks
[ Info ] Removing files safely from: C:\ghcup\ghc\9.4.8
[ Info ] After removing GHC you might also want to clean up your cabal store at: C:\Users\Javier\AppData\Roaming\cabal\store\ghc-9.4.8
Success
Press enter to continue
However that directory is wrong. It should point to C:\Users\Javier\AppData\Local\cabal\store\ghc-9.4.8.
This seems to be caused by readConfig from cabal-install-parsers, which does:
Which is wrong for the default directories on Windows. For the record, this is what the directories look like:
➜ ls ~/AppData/{Local/cabal,Roaming/cabal}
/c/Users/Javier/AppData/Local/cabal:
logs script-builds store
/c/Users/Javier/AppData/Roaming/cabal:
bin config logs packages
And this is my cabal config file, only the fields that are not commented:
Ah I think this issue summarizes the situation upstream. haskell-CI/haskell-ci#655. What remains then for GHCup is whether to use something different of live with this feature/bug.
Removing a GHC shows the following message:
However that directory is wrong. It should point to
C:\Users\Javier\AppData\Local\cabal\store\ghc-9.4.8
.This seems to be caused by
readConfig
fromcabal-install-parsers
, which does:Which is wrong for the default directories on Windows. For the record, this is what the directories look like:
➜ ls ~/AppData/{Local/cabal,Roaming/cabal} /c/Users/Javier/AppData/Local/cabal: logs script-builds store /c/Users/Javier/AppData/Roaming/cabal: bin config logs packages
And this is my cabal config file, only the fields that are not commented:
The text was updated successfully, but these errors were encountered: