From 00422b227968b698c3f109c46b8cd1a4c8590b4e Mon Sep 17 00:00:00 2001 From: ibor Date: Mon, 25 Sep 2017 02:32:19 +0200 Subject: [PATCH] js_of_ocaml: fix jbuild (explicitly call bash) (#29749) * js_of_ocaml: fix jbuild (explicitly call bash) * js_of_ocaml: Use patchShebangs instead of manual patch --- pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix b/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix index a4852a8aba0..d8c289015b2 100644 --- a/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix +++ b/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { buildInputs = [ ocaml findlib jbuilder ocaml-migrate-parsetree ppx_tools_versioned ]; + postPatch = "patchShebangs lib/generate_stubs.sh"; + propagatedBuildInputs = [ js_of_ocaml-compiler uchar ]; buildPhase = "jbuilder build -p js_of_ocaml";