From c4e1a2f9a300de841b27c6c3fb1f481747fcbf19 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 21 Jun 2020 07:33:14 +0200 Subject: ocamlPackages.xtmpl: compatibility with JSoO 3.6.0 --- pkgs/development/ocaml-modules/xtmpl/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/development/ocaml-modules/xtmpl/default.nix') diff --git a/pkgs/development/ocaml-modules/xtmpl/default.nix b/pkgs/development/ocaml-modules/xtmpl/default.nix index 2c4cf4928db..2264f0dedbf 100644 --- a/pkgs/development/ocaml-modules/xtmpl/default.nix +++ b/pkgs/development/ocaml-modules/xtmpl/default.nix @@ -17,6 +17,10 @@ stdenv.mkDerivation rec { patches = [ ./jsoo.patch ]; + postPatch = '' + substituteInPlace Makefile --replace js_of_ocaml.ppx js_of_ocaml-ppx + ''; + buildInputs = [ ocaml findlib ppx_tools js_of_ocaml js_of_ocaml-ppx ]; propagatedBuildInputs = [ iri re ]; -- cgit 1.4.1