Reputation: 5037
I'm using stack
lts-9.0
snapshot, which includes process-1.4.X
. Due to some problems with this version, I would like to use process-1.6.1.0
. Adding this version to extra-deps
does not seem to be enough:
extra-deps:
- process-1.6.1.0
since this will cause the following error:
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for Cabal-1.24.2.0:
process-1.6.1.0 must match >=1.1.0.1 && <1.5 (latest applicable is 1.4.3.0)
What do I need to do in these cases?
Upvotes: 2
Views: 85
Reputation: 33464
As written in the message, the problem is with Cabal-1.24.2.0
depending on process < 1.5
.
Add Cabal-2.0.0.2
to the extra-deps
.
Upvotes: 1