Question

So basically in my project I need to use batteries (for File.lines_of and other related functions) and deriving (for Show.show) at the same time.

However, when I use opam to install package deriving on my Mac, it seems that it will firstly remove the batteries package, after that it will start to install deriving..

and when install batteries using opam, it will firstly remove deriving...

Is there anything wrong with my configuration..? Or it is just the normal case..? THen how can I use batteries and deriving at the same time?

enter image description here

Was it helpful?

Solution

  • I've had no problem installing both libraries (batteries 2.1.0 and deriving 0.5) with OCaml 4.00.1 (and Opam 0.9.6)

  • You might want to check this question: opam upgrade wants to downgrade a bunch of packages -- not sure whether this is relevant, but it seems that it might be.

Good luck!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top