ocamlPackages.js_of_ocaml*: 3.7.0 -> 3.8.0

ocamlPackages.js_of_ocaml*: use buildDunePackage to fix installation
ocamlPackages.js_of_ocaml*: fix style for editorconfig

Closes #106343
This commit is contained in:
sternenseemann
2020-12-19 23:33:20 +01:00
committed by Vincent Laporte
parent 7c9ba95c3d
commit 2b0fc36c90
8 changed files with 64 additions and 88 deletions
@@ -1,16 +1,13 @@
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler, js_of_ocaml-ppx
, ocaml-migrate-parsetree, ppx_tools_versioned
{ buildDunePackage, js_of_ocaml-compiler, js_of_ocaml-ppx
, js_of_ocaml, ocaml_lwt, lwt_log
}:
stdenv.mkDerivation {
pname = "js_of_ocaml-lwt";
buildDunePackage {
pname = "js_of_ocaml-lwt";
inherit (js_of_ocaml-compiler) version src installPhase meta;
inherit (js_of_ocaml-compiler) version src meta useDune2;
buildInputs = [ ocaml findlib dune_2 js_of_ocaml-ppx ocaml-migrate-parsetree ppx_tools_versioned ];
buildInputs = [ js_of_ocaml-ppx ];
propagatedBuildInputs = [ js_of_ocaml ocaml_lwt lwt_log ];
buildPhase = "dune build -p js_of_ocaml-lwt";
propagatedBuildInputs = [ js_of_ocaml ocaml_lwt lwt_log ];
}