mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 16:40:12 +00:00
js_of_ocaml: fix dependencies
This commit is contained in:
parent
8983cac44c
commit
81ca7cc0a7
|
@ -3,11 +3,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
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 = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ];
|
buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||||
nativeBuildInputs = [ ocaml findlib dune ];
|
nativeBuildInputs = [ ocaml findlib dune ];
|
||||||
|
|
||||||
postPatch = "patchShebangs lib/generate_stubs.sh";
|
postPatch = "patchShebangs lib/generate_stubs.sh";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage
|
{ lib, fetchFromGitHub, buildDunePackage
|
||||||
, cmdliner, cppo, yojson
|
, ocaml, findlib, cmdliner, dune, cppo, yojson
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
|
|
Loading…
Reference in a new issue