summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/js_of_ocaml
diff options
context:
space:
mode:
authoribor <ibor@efil.de>2017-09-25 02:32:19 +0200
committerPeter Hoeg <peter@hoeg.com>2017-09-25 08:32:19 +0800
commit00422b227968b698c3f109c46b8cd1a4c8590b4e (patch)
tree31cba8a65b6762973e9bcd5a639a792a904ac3ff /pkgs/development/tools/ocaml/js_of_ocaml
parentec075b40ec5127cd1dc42601309e32254c00a993 (diff)
downloadnixpkgs-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar
nixpkgs-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.gz
nixpkgs-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.bz2
nixpkgs-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.lz
nixpkgs-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.xz
nixpkgs-00422b227968b698c3f109c46b8cd1a4c8590b4e.tar.zst
nixpkgs-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/ocaml/js_of_ocaml')
-rw-r--r--pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix2
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 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";