Vendoring opam package

I’m wondering if there is a way to vendor an opam package + deps such that the output is an opam repository + local copy of all the inputs + the package uses that copy as source for building. It’d be nice to just be able to run a program to get that.

In searching I found opam-bundle, but that seems to just produce a big tarball + package that builds everything, more like it’s a way to deploy things to get built rather than a development flow.

Thank you

1 Like

I have used opam-bundle.
But, it is not failsafe.
You do need to test the obtained “installer” works for a fresh user in the Linux distribution you are targeting.