[opam-devel] specifying environment variables in opam package

Ashish Agarwal agarwal1975 at gmail.com
Sat Apr 16 13:27:11 BST 2016

On Fri, Apr 15, 2016 at 10:56 PM, Louis Gesbert <louis.gesbert at ocamlpro.com>

> Le vendredi 15 avril 2016, 14:33:15 Ashish Agarwal a écrit :
> > I noticed that opam sets PERL5LIB. Can someone explain why.
> The answer is here: https://github.com/ocaml/opam/pull/755

Got it. Thanks. FYI, my use case is outside OPAM's original purpose. This
is for non-OCaml packages.

> I actually need
> > to add to this path when a certain package is installed. Does opam allow
> > that?
> Opam 2.0 does! ☺
> There is a new `setenv:` field

Great. Thanks! Looking forward to 2.0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20160416/242467fa/attachment.html>

More information about the opam-devel mailing list