haskell/cabal — pull request #2054 by ezyang (2014-08-24 22:13:18+00:00)
Title: Switch InstallPlan over to using IPID-indexed PackageIndex

So, uh, this kind of depends on #2051 (so the commit shows up multiple times). There is also a minor warning-squashing commit which you can either take or ignore.