diff options
author | ibor <ibor@efil.de> | 2017-09-25 02:32:19 +0200 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2017-09-25 08:32:19 +0800 |
commit | 00422b227968b698c3f109c46b8cd1a4c8590b4e (patch) | |
tree | 31cba8a65b6762973e9bcd5a639a792a904ac3ff /pkgs/development/tools | |
parent | ec075b40ec5127cd1dc42601309e32254c00a993 (diff) | |
download | nixlib-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar nixlib-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.gz nixlib-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.bz2 nixlib-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.lz nixlib-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.xz nixlib-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.zst nixlib-00422b227968b698c3f109c46b8cd1a4c8590b4e.zip |
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
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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 a4852a8aba07..d8c289015b2f 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"; |