Resolving dependencies... Downloading ghc-paths-0.1.0.3... /tmp/ghc-paths-0.1.0.3-22489/ghc-paths-0.1.0.3/dist/setup/setup.hs:8:8: Could not find module ‘Distribution.Simple.PackageSet’ Perhaps you meant Distribution.Simple.PackageIndex (from Cabal-1.22.0.0) Distribution.Simple.PackageIndex (needs flag -package Cabal-1.20.0.3) Distribution.Simple.Configure (needs flag -package Cabal-1.20.0.3) Use -v to see a list of the files searched for. Failed to install ghc-paths-0.1.0.3 cabal: Error: some packages failed to install: ghc-paths-0.1.0.3 failed during the configure step. The exception was: ExitFailure 1