[opam-devel] OPAM Roadmap -- what next ?

Peter Zotov whitequark at whitequark.org
Sun Dec 21 12:43:39 GMT 2014

On 2014-12-21 15:25, Daniel Bünzli wrote:
> Le dimanche, 21 décembre 2014 à 12:28, Thomas Gazagnaire a écrit :
>> Having a way to have multiple versions of the same library installed 
>> in the same switch could be very cool as well, although again it 
>> requires support in ocamlfind/build systems
> I'm not so sure you need anything ocamlfind and/or in the build
> systems. Wouldn't it be sufficient to install each package in
> PKG.VERSION directories with PKG symlinked on the latest version ? If
> your root package name is not specified in the META file then you will
> be able to name the versioned packages in ocamlfind.

Imagine four packages installed:
   * B.1
   * B.2
   * A.1 depends: B<2
   * A.2 depends B>=2

Now if you request A.1, the wrong version of B will get pulled in.

> Daniel
> _______________________________________________
> opam-devel mailing list
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel

Peter Zotov

More information about the opam-devel mailing list