As much as possible, expunge uses of localPkgDescr.
The big change here is that most of the functions in Distribution.Types.HookedBuildInfo have to take a PackageDescription explicitly. I hate the new type, so I primed these new functions, and added functions which use 'localPkgDescr'. Presently those have WARNINGs attached to them so people don't accidentally use them; once we fix 'HookedBuildInfo' we can change this. Signed-off-by: Edward Z. Yang <firstname.lastname@example.org>
Showing with 175 additions and 98 deletions