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
commit00422b227968b698c3f109c46b8cd1a4c8590b4e
authoribor <ibor@efil.de>
dateMon 25 Sep 2017, 02:32 (9 years ago)
parentec075b4
pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix+2
@@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
99
1010 buildInputs = [ ocaml findlib jbuilder ocaml-migrate-parsetree ppx_tools_versioned ];
1111
12+ postPatch = "patchShebangs lib/generate_stubs.sh";
13+
1214 propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
1315
1416 buildPhase = "jbuilder build -p js_of_ocaml";