[ghc] 9.4.8 migration for CI

4 jobs for 304-dev-toml-config-rewrite-and-update-deps-9.4.8 in 30 minutes and 49 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Cabal
failed #14838
cabal

00:30:49

 
  Stack
skipped #14839
stack
 
  Bench
skipped #14840
allowed to fail manual
bench
 
  Test
skipped #14841
test
 
Name Stage Failure
failed
cabal Cabal
Warning: Both /root/.cabal and /root/.config/cabal/config exist - ignoring the
former.
It is advisable to remove one of them. In that case, we will use the remaining
one by default (unless '$CABAL_DIR' is explicitly set).
Error: cabal: Cannot find the program 'ghc'. User-specified path 'ghc-9.4.8'
does not refer to an executable and the program is not on the system path.

Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1