[opam-devel] [RFC] OPAM files as *the* OCaml package metadata format

Daniel Bünzli daniel.buenzli at erratique.ch
Wed Apr 13 15:46:05 BST 2016


Responding on list, I hope you don't mind.  


Le mercredi, 13 avril 2016 à 16:35, Michael Grünewald a écrit :

> > On 13 Apr 2016, at 16:27, Daniel Bünzli <daniel.buenzli at erratique.ch (mailto:daniel.buenzli at erratique.ch)> wrote:
> >  
> > 1. Where should those be installed in `lib:` (like METAs) or `etc:` (seems more logical) or … ?
> IIRC Before Baptist introduced pkg, FreeBSD used to store port and packages
> metadata in /var/db/ports and /var/db/packages and I would see a similar,
> directory, like ${OPAMROOT}/var/db/opam/${SWITCH}, as a good fit to publish or link
> opam files of installed packages.

I think there are two problems here:  

1) There's no support at the moment for such directories in OPAM install file  
2) I'm not sure what os distributions think about these paths in general

Best,  

Daniel


More information about the opam-devel mailing list