3
0
Fork 0
forked from mirrors/nixpkgs

Adapt the derivation for the update of eliom to 4.1

This commit is contained in:
Florent Becker 2014-10-15 11:14:34 +02:00
parent 91fe0ddc62
commit cfeb42b8eb

View file

@ -1,6 +1,7 @@
{ stdenv, fetchurl, ocaml, findlib, which, ocsigen_server, ocsigen_deriving, { stdenv, fetchurl, ocaml, findlib, which, ocsigen_server, ocsigen_deriving,
js_of_ocaml, ocaml_react, ocaml_lwt, calendar, cryptokit, tyxml, js_of_ocaml, ocaml_react, ocaml_lwt, calendar, cryptokit, tyxml,
ocaml_ipaddr, ocamlnet, ocaml_ssl, ocaml_pcre, ocaml_optcomp}: ocaml_ipaddr, ocamlnet, ocaml_ssl, ocaml_pcre, ocaml_optcomp,
reactivedata}:
stdenv.mkDerivation stdenv.mkDerivation
{ {
@ -14,12 +15,7 @@ stdenv.mkDerivation
buildInputs = [ocaml which ocsigen_server findlib ocsigen_deriving buildInputs = [ocaml which ocsigen_server findlib ocsigen_deriving
js_of_ocaml ocaml_react ocaml_lwt calendar js_of_ocaml ocaml_react ocaml_lwt calendar
cryptokit tyxml ocaml_ipaddr ocamlnet ocaml_ssl cryptokit tyxml ocaml_ipaddr ocamlnet ocaml_ssl
ocaml_pcre ocaml_optcomp]; ocaml_pcre ocaml_optcomp reactivedata];
preConfigure =
''chmod a+x configure
sed s/deriving-ocsigen/deriving/g -i configure
'';
configureFlags = "--root $(out) --prefix /"; configureFlags = "--root $(out) --prefix /";