Skip to content
  • Herbert Valerio Riedel's avatar
    Have the solver reject packages with a too-new/unsupported spec-version · 97155ecd
    Herbert Valerio Riedel authored
    This compares the request spec-version to the lib:Cabal's version in order to
    determine whether cabal is able to properly understand the package. If it's
    newer than the currently linked lib:Cabal version it's turned into a global
    `FailResult` which the solver treats as desired in terms of backtracking and
    error reporting.
    
    This is related to the new spec-version forward-compat scheme (see #4899).
    
    This is a forward-port of #4907 to the `master` branch
    97155ecd