1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

ocamlPackages.js_of_ocaml-camlp4: add deriving support

This commit is contained in:
Vincent Laporte 2018-04-01 07:02:39 +00:00 committed by Vincent Laporte
parent 9358f60f94
commit 48ee88c7f8

View file

@ -1,5 +1,5 @@
{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler { stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler
, camlp4 , camlp4, ocsigen_deriving
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
inherit (js_of_ocaml-compiler) version src installPhase meta; inherit (js_of_ocaml-compiler) version src installPhase meta;
buildInputs = [ ocaml findlib jbuilder camlp4 ]; buildInputs = [ ocaml findlib jbuilder camlp4 ocsigen_deriving ];
buildPhase = "jbuilder build -p js_of_ocaml-camlp4"; buildPhase = "jbuilder build -p js_of_ocaml-camlp4";
} }