ocamlPackages.xtmpl_ppx: fix for OCaml 5.4

This commit is contained in:
Vincent Laporte
2025-10-06 22:12:34 +02:00
parent 2167711d5e
commit 1e55f8db32
@@ -9,6 +9,12 @@ buildDunePackage {
inherit (xtmpl) src version;
# Fix for ppxlib ≥ 0.37
postPatch = ''
substituteInPlace ppx/ppx_xtmpl.ml --replace-fail 'Parse.longident b' \
'Astlib.Longident.parse s'
'';
buildInputs = [
ppxlib
xtmpl