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:
@@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ocaml findlib jbuilder ocaml-migrate-parsetree ppx_tools_versioned ];
|
buildInputs = [ ocaml findlib jbuilder ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||||
|
|
||||||
|
postPatch = "patchShebangs lib/generate_stubs.sh";
|
||||||
|
|
||||||
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
||||||
|
|
||||||
buildPhase = "jbuilder build -p js_of_ocaml";
|
buildPhase = "jbuilder build -p js_of_ocaml";
|
||||||
|
|||||||
Reference in New Issue
Block a user