diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-02-11 07:34:59 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-02-11 11:38:20 +0100 |
commit | 9ef62950cba8f539318bdc1707770ef6dd575c45 (patch) | |
tree | d58c9b01f85c1cd8980d0b0a4e9054c79a8d351b | |
parent | bb8a321187c9465d7076ad9fcedfd45be3662d1d (diff) |
ocamlPackages.piqi: fix build
-rw-r--r-- | pkgs/development/ocaml-modules/piqi/default.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/pkgs/development/ocaml-modules/piqi/default.nix b/pkgs/development/ocaml-modules/piqi/default.nix index 84ccc469f6e57..faeb804d8aa88 100644 --- a/pkgs/development/ocaml-modules/piqi/default.nix +++ b/pkgs/development/ocaml-modules/piqi/default.nix @@ -19,15 +19,9 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; - buildPhase = '' - make - make -C piqilib piqilib.cma - ''; - - installPhase = '' - make install; - make ocaml-install; - ''; + postBuild = "make -C piqilib piqilib.cma"; + + installTargets = [ "install" "ocaml-install" ]; meta = with lib; { homepage = "https://piqi.org"; |