diff options
Diffstat (limited to 'pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix')
-rw-r--r-- | pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix | 7 |
1 files changed, 4 insertions, 3 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 d1ff9eee8179..9ca6ca67421f 100644 --- a/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix +++ b/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix @@ -3,11 +3,12 @@ }: stdenv.mkDerivation { - pname = "js_of_ocaml"; + pname = "js_of_ocaml"; - inherit (js_of_ocaml-compiler) version src installPhase meta; + inherit (js_of_ocaml-compiler) version src installPhase meta; - buildInputs = [ ocaml findlib dune ocaml-migrate-parsetree ppx_tools_versioned ]; + buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ]; + nativeBuildInputs = [ ocaml findlib dune ]; postPatch = "patchShebangs lib/generate_stubs.sh"; |