summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/xtmpl/default.nix
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-06-21 07:33:14 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2020-06-28 09:59:04 +0200
commitc4e1a2f9a300de841b27c6c3fb1f481747fcbf19 (patch)
tree70005fb5bef1dbb9575fce26b205867a2e0522e1 /pkgs/development/ocaml-modules/xtmpl/default.nix
parent4059ac951ba56a397e148088acef372f7208adc2 (diff)
downloadnixpkgs-c4e1a2f9a300de841b27c6c3fb1f481747fcbf19.tar
nixpkgs-c4e1a2f9a300de841b27c6c3fb1f481747fcbf19.tar.gz
nixpkgs-c4e1a2f9a300de841b27c6c3fb1f481747fcbf19.tar.bz2
nixpkgs-c4e1a2f9a300de841b27c6c3fb1f481747fcbf19.tar.lz
nixpkgs-c4e1a2f9a300de841b27c6c3fb1f481747fcbf19.tar.xz
nixpkgs-c4e1a2f9a300de841b27c6c3fb1f481747fcbf19.tar.zst
nixpkgs-c4e1a2f9a300de841b27c6c3fb1f481747fcbf19.zip
ocamlPackages.xtmpl: compatibility with JSoO 3.6.0
Diffstat (limited to 'pkgs/development/ocaml-modules/xtmpl/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/xtmpl/default.nix4
1 files changed, 4 insertions, 0 deletions
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 ];