ocamlPackages.piqi: fix build

This commit is contained in:
Vincent Laporte 2022-02-11 07:34:59 +01:00
parent bb8a321187
commit 9ef62950cb
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -19,15 +19,9 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true;
buildPhase = ''
make
make -C piqilib piqilib.cma
'';
postBuild = "make -C piqilib piqilib.cma";
installPhase = ''
make install;
make ocaml-install;
'';
installTargets = [ "install" "ocaml-install" ];
meta = with lib; {
homepage = "https://piqi.org";