Reputation: 851
First off, I love repa and repa-devil but most of my libraries require vector >= 0.9. since we are on GHC 7.0.* we need to use repa-0.2.0.* but these have a hard dependency on vector >= 0.7 && < 0.8. I was able to get repa-0.2.0.* to compile with vector-0.9 but am a bit concerned that there might be some problems lurking under the surface.
so, is it ok to relax the upper bound on the vector dependency in repa 0.2.0.1?
Upvotes: 2
Views: 202
Reputation: 183968
That should be okay if it compiles. But to prevent cabal-install from making difficulties, you should increase the version of your repa with relaxed dependencies. Pick an increase that's unlikely to become an official version number, e.g. append a .1
to the version. When installing new packages, cabal-install takes the dependencies from the global index, so if you have a version with official dependencies vector < 0.8
, it will think that's broken and try to reinstall it, which won't work.
Upvotes: 2