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,14 +1,12 @@
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler
, ocaml-migrate-parsetree, ppx_tools_versioned
{ buildDunePackage, js_of_ocaml-compiler
, ppxlib
, js_of_ocaml
}:
stdenv.mkDerivation {
pname = "js_of_ocaml-ppx";
buildDunePackage {
pname = "js_of_ocaml-ppx";
inherit (js_of_ocaml-compiler) version src installPhase meta;
inherit (js_of_ocaml-compiler) version src meta useDune2;
buildInputs = [ ocaml findlib dune_2 ocaml-migrate-parsetree ppx_tools_versioned js_of_ocaml ];
buildPhase = "dune build -p js_of_ocaml-ppx";
buildInputs = [ ppxlib js_of_ocaml ];
}