Skip to content
  • Tobias Dammers's avatar
    1626fe60
    Handle abi-depends correctly in ghc-pkg · 1626fe60
    Tobias Dammers authored and Ben Gamari's avatar Ben Gamari committed
    When inferring the correct abi-depends, we now look at all the package
    databases in the stack, up to and including the current one, because
    these are the ones that the current package can legally depend on. While
    doing so, we will issue warnings:
    
    - In verbose mode, we warn about every package that declares
      abi-depends:, whether we actually end up overriding them with the
      inferred ones or not ("possibly broken abi-depends").
    
    - Otherwise, we only warn about packages whose declared abi-depends
      does not match what we inferred ("definitely broken abi-depends").
    
    Reviewers: bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #14381
    
    Differential Revision: https://phabricator.haskell.org/D4729
    1626fe60
    Handle abi-depends correctly in ghc-pkg
    Tobias Dammers authored and Ben Gamari's avatar Ben Gamari committed
    When inferring the correct abi-depends, we now look at all the package
    databases in the stack, up to and including the current one, because
    these are the ones that the current package can legally depend on. While
    doing so, we will issue warnings:
    
    - In verbose mode, we warn about every package that declares
      abi-depends:, whether we actually end up overriding them with the
      inferred ones or not ("possibly broken abi-depends").
    
    - Otherwise, we only warn about packages whose declared abi-depends
      does not match what we inferred ("definitely broken abi-depends").
    
    Reviewers: bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #14381
    
    Differential Revision: https://phabricator.haskell.org/D4729
Loading