forked from mirrors/nixpkgs
ocamlPackages.re: disable tests for OCaml ≥ 4.06
This commit is contained in:
parent
a125946bc1
commit
191f03f02e
|
@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ounit ];
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests";
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $out"
|
||||
+ stdenv.lib.optionalString doCheck " --enable-tests";
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
doCheck = true;
|
||||
doCheck = !stdenv.lib.versionAtLeast ocaml.version "4.06";
|
||||
checkPhase = "ocaml setup.ml -test";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
|
||||
|
|
Loading…
Reference in a new issue