From 2b8ee31b6d4961a0cd74d2a5ac1b275bb0f549a5 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 21 Jun 2020 07:33:19 +0200 Subject: [PATCH] eff: compatibility with JSoO 3.6.0 --- pkgs/development/interpreters/eff/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/interpreters/eff/default.nix b/pkgs/development/interpreters/eff/default.nix index c848ebc6047..cfd3bbbda4c 100644 --- a/pkgs/development/interpreters/eff/default.nix +++ b/pkgs/development/interpreters/eff/default.nix @@ -14,6 +14,10 @@ stdenv.mkDerivation { sha256 = "1fslfj5d7fhj3f7kh558b8mk5wllwyq4rnhfkyd96fpy144sdcka"; }; + postPatch = '' + substituteInPlace setup.ml --replace js_of_ocaml.ocamlbuild js_of_ocaml-ocamlbuild + ''; + buildInputs = [ which ] ++ (with ocamlPackages; [ ocaml findlib ocamlbuild menhir js_of_ocaml js_of_ocaml-ocamlbuild ]);