From d5050e3274edec9a7aeb1f9262e1d3e5f1b8aecb Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 11 Feb 2022 08:18:15 +0100 Subject: [PATCH] ocamlPackages.piqi-ocaml: fix build --- pkgs/development/ocaml-modules/piqi-ocaml/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix index 9899bfc4bdf9..590c001c4195 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";