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
This commit is contained in:
ibor 2017-09-25 02:32:19 +02:00 committed by Peter Hoeg
parent ec075b40ec
commit 00422b2279

View file

@ -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";