1
0
Fork 1
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:
Alexander Bantyev 2019-11-11 11:28:40 +03:00
parent 8983cac44c
commit 81ca7cc0a7
No known key found for this signature in database
GPG key ID: E081FF12ADCB4AD5
2 changed files with 4 additions and 4 deletions

View file

@ -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";

View file

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, buildDunePackage { lib, fetchFromGitHub, buildDunePackage
, cmdliner, cppo, yojson , ocaml, findlib, cmdliner, dune, cppo, yojson
}: }:
buildDunePackage rec { buildDunePackage rec {