patch applied (cabal-install): Replace RepoIndex type with PackageIndex PkgInfo