Skip to content

Confusing `ghcup set` error

When I run ghcup set it doesn't seem to be able to find the versions of GHC installed. For example I have the following:

> ghcup install ghc-8.10.4
[ Warn  ] This is an old-style command for installing GHC. Use 'ghcup install ghc' instead.
[ Warn  ] GHC ver 8.10.4 already installed; if you really want to reinstall it, you may want to run 'ghcup rm ghc 8.10.4' first
> ghcup set ghc-8.10.4
[ Warn  ] This is an old-style command for setting GHC. Use 'ghcup set ghc' instead.
[ Error ] The version "ghc-8.10.4" of the tool "GHC" is not installed.

Any ideas what might be causing this? I also find the warnings very confusing since the commands shown are also on the gitlab readme.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information