On 8/15/25 10:36 AM, Bas Couwenberg wrote:
+ ocamlbuild -pkg ben debiangis.cmx
Using dune seems to work after adding the new template to templates/dune: dune build templates/debiangis.cmxs This does require installing libppx-yojson-conv-ocaml-dev which was not pulled in via the libben-ocaml-dev dependencies. Copying the .cmxs file to /usr/lib/ben/templates no longer works. This did work: su -c "mkdir /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/ben/templates/debiangis" su -c "cp -v _build/default/templates/debiangis.* /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/ben/templates/debiangis/" What is the recommended way to build & install a custom template? Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

