Cabal dependency extrema testing

Henning Thielemann lemming at henning-thielemann.de
Sun Jun 16 11:02:59 CEST 2013


On Sun, 16 Jun 2013, Bram Neijt wrote:

> Ok, so I had my first go at this, but it seems all the things I try
> will fail. My approach was simple: take a single dependency and change
> ">=" into "==" for that single dependency, then try to build. Do that
> for every dependency in the cabal file.
>
> Turns out, none of the things I tries would work. Here is a concrete example:
> mkdir test
> cd test
> snap init
> #Edit the test.cabal file and change bytestring >= 0.9.1 to bytestring == 0.9.1
> cabal fetch .

You do not need to touch test.cabal. You can run

$ cabal install --constraint="bytestring == 0.9.1"



More information about the Libraries mailing list