summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2022-03-30 06:52:50 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2022-04-05 13:33:20 +0200
commit684ae2716381a05fc92c0143ded6f2170271ce83 (patch)
tree94a9423cd98c3edf3a3860d4d5fb155206053820 /pkgs/development/ocaml-modules
parent994b21d1c198d8896db00cbc1e39fd41aaef18df (diff)
downloadnixpkgs-684ae2716381a05fc92c0143ded6f2170271ce83.tar
nixpkgs-684ae2716381a05fc92c0143ded6f2170271ce83.tar.gz
nixpkgs-684ae2716381a05fc92c0143ded6f2170271ce83.tar.bz2
nixpkgs-684ae2716381a05fc92c0143ded6f2170271ce83.tar.lz
nixpkgs-684ae2716381a05fc92c0143ded6f2170271ce83.tar.xz
nixpkgs-684ae2716381a05fc92c0143ded6f2170271ce83.tar.zst
nixpkgs-684ae2716381a05fc92c0143ded6f2170271ce83.zip
ocamlPackages.eliom: 8.9.0 → 9.4.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/eliom/default.nix12
1 files changed, 9 insertions, 3 deletions
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 ];