Hackage is flooded with old package versions reuploads

Herbert Valerio Riedel hvr at gnu.org
Tue Jan 20 17:22:47 UTC 2015


On 2015-01-20 at 17:43:24 +0100, Duncan Coutts wrote:

[...]

> This can be achieved by editing the .cabal file, and Herbert has done so
> in at least one case. It's just a matter of making the constraints
> impossible, e.g. base > 1 && < 1. It could possibly be done more
> obviously or directly, e.g. adding a dep on something impossible (though
> note that we don't currently allow adding deps).

Fwiw, I've converged to using the following construct to blacklist a
package version:

  library
    -- [reason why this package version had to be blacklisted]
    build-depends: base<0
   
    [...rest of content...]


IMHO this is somewhat obvious than any other unsatisfiable constructs

Cheers,
  hvr


More information about the Libraries mailing list