Resolving dependencies... Configuring Cabal-syntax-3.14.2.0... Error: [Cabal-6666] The program 'alex' is required but it could not be found. Failed to install Cabal-syntax-3.14.2.0 Error: [Cabal-7140] Some packages failed to install: Cabal-3.14.2.0-5EmeHeFOnlg6LUfjux81wx depends on Cabal-3.14.2.0 which failed to install. Cabal-syntax-3.14.2.0-IuTZTVBTRAqCtART6g02v2 failed during the configure step. The exception was: ExitFailure 1 cabal-install-3.14.2.0-8rYRciiP2jUEonpElZhQaw depends on cabal-install-3.14.2.0 which failed to install. cabal-install-solver-3.14.2.0-21jHiVtM5ve4icE9oHrlRS depends on cabal-install-solver-3.14.2.0 which failed to install. hackage-security-0.6.2.6-KLPvxJZvRI5AtXTi6GGc6i depends on hackage-security-0.6.2.6 which failed to install. hix-0.9.1-18L5jdVHHiC17xf11p0QMG depends on hix-0.9.1 which failed to install.