I'd recommend using ghcup to install Haskell nowadays. (https://www.haskell.org/ghcup/) It makes it easy to install and switch versions of the compiler, language server, and build tools.
Haskell's ecosystem went such a long way in, I d say,last 5 years? Or maybe it's just me who became more proficient at following instructions? I distinctly remember not being able to setup my working environment for Haskell sometime before 2018 and then I tried it again couple of months ago, and all well smoothly