ocamlPackages.ocsigen-toolkit: use opaline

This commit is contained in:
Vincent Laporte 2018-05-29 05:15:32 +00:00
parent cb5d4c1205
commit 69ac6be009
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, buildOcaml, ocaml, opam
{ stdenv, fetchurl, buildOcaml, ocaml, opaline
, calendar, eliom, js_of_ocaml-ppx_deriving_json
}:
@ -8,13 +8,13 @@ buildOcaml rec
version = "1.1.0";
propagatedBuildInputs = [ calendar eliom js_of_ocaml-ppx_deriving_json ];
buildInputs = [ opam ];
buildInputs = [ opaline ];
installPhase =
''
export OCAMLPATH=$out/lib/ocaml/${ocaml.version}/site-lib/:$OCAMLPATH
make install
opam-installer --prefix=$out
opaline -prefix $out
'';
src = fetchurl {