diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix b/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix index 888cc51a99db..c0812c39a3e6 100644 --- a/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix +++ b/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix @@ -1,18 +1,19 @@ { lib, fetchurl, buildDunePackage , ocaml, findlib, cmdliner, dune_2, cppo, yojson, ocaml-migrate-parsetree +, menhir }: buildDunePackage rec { pname = "js_of_ocaml-compiler"; - version = "3.6.0"; + version = "3.7.0"; useDune2 = true; src = fetchurl { url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz"; - sha256 = "51eaa89c83ef3168ef270bf7997cbc35a747936d3f51aa6fac58fb0323b4cbb0"; + sha256 = "0rw6cfkl3zlyav8q2w7grxxqjmg35mz5rgvmkiqb58nl4gmgzx6w"; }; - nativeBuildInputs = [ ocaml findlib dune_2 cppo ]; + nativeBuildInputs = [ ocaml findlib dune_2 cppo menhir ]; buildInputs = [ cmdliner ]; configurePlatforms = []; diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/default.nix b/pkgs/development/tools/ocaml/js_of_ocaml/default.nix index 666cda592fb0..9a57b590d6cf 100644 --- a/pkgs/development/tools/ocaml/js_of_ocaml/default.nix +++ b/pkgs/development/tools/ocaml/js_of_ocaml/default.nix @@ -10,8 +10,6 @@ stdenv.mkDerivation { buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ]; nativeBuildInputs = [ ocaml findlib dune_2 ]; - postPatch = "patchShebangs lib/generate_stubs.sh"; - propagatedBuildInputs = [ js_of_ocaml-compiler uchar ]; buildPhase = "dune build -p js_of_ocaml";