diff --git a/pkgs/development/ocaml-modules/eliom/default.nix b/pkgs/development/ocaml-modules/eliom/default.nix index e3af173edc9..f3c587428a4 100644 --- a/pkgs/development/ocaml-modules/eliom/default.nix +++ b/pkgs/development/ocaml-modules/eliom/default.nix @@ -16,17 +16,18 @@ , js_of_ocaml-tyxml , lwt_ppx , ocamlnet +, ocsipersist }: stdenv.mkDerivation rec { pname = "eliom"; - version = "8.9.0"; + version = "9.4.0"; src = fetchFromGitHub { owner = "ocsigen"; repo = "eliom"; rev = version; - sha256 = "sha256-VNxzpVpXEGlixyjadbW0GjL83jcKV5TWd46UReNYO6w="; + sha256 = "sha256:1yn8mqxv9yz51x81j8wv1jn7l7crm8azp1m2g4zn5nz2s4nmfv6q"; }; nativeBuildInputs = [ @@ -49,12 +50,17 @@ stdenv.mkDerivation rec { lwt_ppx lwt_react ocsigen_server + ocsipersist ppx_deriving ]; strictDeps = true; - installPhase = "opaline -prefix $out -libdir $OCAMLFIND_DESTDIR"; + installPhase = '' + runHook preInstall + opaline -prefix $out -libdir $OCAMLFIND_DESTDIR + runHook postInstall + ''; setupHook = [ ./setup-hook.sh ];