patch applied (cabal): Add a unuque identifier for installed packages (part 4 of 9)
Thu Aug 6 06:18:29 PDT 2009 Simon Marlow <marlowsd@gmail.com> * Add a unuque identifier for installed packages (part 4 of 9) Ignore-this: cd1f965c30d3dbd26dd184b3fd126163 Distribution.Simple.LocalBuildInfo: - the LocalBuildInfo record contains an index of the installed packages; this has changed from PackageIndex InstalledPackageInfo to InstalledPackageIndex. - ComponentLocalBuildInfo stores the "external package dependencies" of the component, which was componentPackageDeps :: [PackageId] and is now componentInstalledPackageDeps :: [InstalledPackageId] - we now export componentPackageDeps :: LocalBuildInfo -> [PackageId] (since to get the PackageId for an InstalledPackageId, you need to look it up in the InstalledPackageIndex, which is in the LocalBuildInfo) - similarly, previously externalPackageDeps :: LocalBuildInfo -> [PackageId] is now externalPackageDeps :: LocalBuildInfo -> [InstalledPackageId] M ./Distribution/Simple/LocalBuildInfo.hs -8 +24 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20090806131829-12142-c7c92257c...
participants (1)
-
Duncan Coutts