js_of_ocaml: fix dependencies

This commit is contained in:
Alexander Bantyev
2019-11-26 18:03:50 +03:00
parent 8983cac44c
commit 81ca7cc0a7
2 changed files with 4 additions and 4 deletions
@@ -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 {