Resolving dependencies... cabal: Entering directory '/tmp/cabal-tmp-32510/cabal-setup-1.2.1' Configuring cabal-setup-1.2.1... Building cabal-setup-1.2.1... Preprocessing executable 'cabal-setup' for cabal-setup-1.2.1... [1 of 1] Compiling Main ( CabalSetup.hs, dist/build/cabal-setup/cabal-setup-tmp/Main.o ) CabalSetup.hs:14:1: error: Failed to load interface for ‘Distribution.Simple.SetupWrapper’ Perhaps you meant Distribution.Simple.Setup (from Cabal-1.24.0.0) Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-32510/cabal-setup-1.2.1' Failed to install cabal-setup-1.2.1 cabal: Error: some packages failed to install: cabal-setup-1.2.1 failed during the building phase. The exception was: ExitFailure 1