Skip to content

"cabal" is hardcoded in error message

I do:

❯ ghcup install ghc --set recommended
[ Warn  ] New ghc version available. To upgrade, run 'ghcup install ghc 9.4.1'
[ Warn  ] New cabal version available. To upgrade, run 'ghcup install cabal 3.8.1.0'
[ Warn  ] New hls version available. To upgrade, run 'ghcup install hls 1.7.0.0'
[ Warn  ] ghc-8.10.7 is already installed; if you really want to reinstall it, you may want to run 'ghcup install cabal --force 8.10.7'

Notice how I ask for a ghc but the last Warn mentions cabal.

The problem is here, it seems: https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/14de382129e99735aaa25bb0a9f82ec2956fa21c/lib/GHCup/Errors.hs#L141

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