patch applied (cabal): Add the ABI hash to the InstalledPackageId for inplace registrations too

Simon Marlow marlowsd at gmail.com
Wed Aug 26 12:52:17 EDT 2009


Wed Aug 26 08:51:57 PDT 2009  Simon Marlow <marlowsd at gmail.com>
  * Add the ABI hash to the InstalledPackageId for inplace registrations too
  Ignore-this: f10a1e90492a356a8ed8ed78fd056176
  Previously, we just added a -inplace suffix, but this will cause
  problems when developing multiple packages inplace, and then
  installing them.
  
  Also, there was a round of refactoring: registerPackage now takes the
  InstalledPackageId as an argument, and generateRegistrationInfo is
  exposed for constructing it.  This means that callers of
  registerPackage get to munge the InstalledPackageInfo before it is
  registered.

    M ./Distribution/Simple/Build.hs -2 +5
    M ./Distribution/Simple/Register.hs -51 +35

View patch online:
http://darcs.haskell.org/cabal/_darcs/patches/20090826155157-12142-2eda3703ccc21322d228edfd64f59440b6a608c0.gz



More information about the cabal-devel mailing list