3
0
Fork 0
forked from mirrors/nixpkgs

ocaml-ng.ocamlPackages_4_01_0.csv: fix build

This commit is contained in:
Vincent Laporte 2022-03-17 09:23:37 +01:00 committed by Vincent Laporte
parent 2a4ae4357e
commit 5ff499b854

View file

@ -22,13 +22,17 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
checkPhase = "ocaml setup.ml -test"; checkPhase = "ocaml setup.ml -test";
installPhase = "ocaml setup.ml -install"; installPhase = ''
runHook preInstall
ocaml setup.ml -install
runHook postInstall
'';
meta = with lib; { meta = with lib; {
description = "A pure OCaml library to read and write CSV files"; description = "A pure OCaml library to read and write CSV files";
homepage = "https://github.com/Chris00/ocaml-csv"; homepage = "https://github.com/Chris00/ocaml-csv";
license = licenses.lgpl21; license = licenses.lgpl21;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms or [ ]; inherit (ocaml.meta) platforms;
}; };
} }