Resolving dependencies... /tmp/cabal-tmp-27586/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.4.0@Cabal_96aI7pZyaxU3dsgngOxbdK) Distribution.Simple.Configure (from Cabal-1.22.4.0@Cabal_96aI7pZyaxU3dsgngOxbdK) Distribution.Simple.HaskellSuite (from Cabal-1.22.4.0@Cabal_96aI7pZyaxU3dsgngOxbdK) 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