about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/piqi-ocaml/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/piqi-ocaml/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/piqi-ocaml/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix
index 9899bfc4bdf9c..590c001c41950 100644
--- a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix
+++ b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix
@@ -16,7 +16,11 @@ stdenv.mkDerivation rec {
 
   createFindlibDestdir = true;
 
-  installPhase = "DESTDIR=$out make install";
+  installPhase = ''
+    runHook preInstall
+    DESTDIR=$out make install
+    runHook postInstall
+  '';
 
   meta = with lib; {
     homepage = "https://piqi.org";