• Edward Z. Yang's avatar
    Reimplement shadowing on a per database basis. · 39b71e81
    Edward Z. Yang authored
    
    
    Summary:
    This commit reimplements shadowing on package databases by doing
    the shadowing calculation on a per-database basis: specifically,
    if a later package database shadows a package from the earlier
    databases, we first remove that package (and its transitive
    dependencies) before merging the databases together.
    
    This should also fix bootstrapping GHC HEAD with HEAD.
    Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
    
    Test Plan: validate
    
    Reviewers: ggreif, bgamari, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1385
    39b71e81
shadow.stdout 291 Bytes