
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
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"