Cabal dependency extrema testing

Bram Neijt bneijt at gmail.com
Sun Jun 16 11:46:36 CEST 2013


Thank you for the responses! The --constraint option is a great tip.

Any further discussion will be continued on the -cafe mailing list.

Greetings,

Bram

On Sun, Jun 16, 2013 at 11:02 AM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
>
> 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