git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.re: disable tests for OCaml ≥ 4.06
commit191f03f02edb9cd9c4032a7b4369f153bc9801d0 authorVincent Laporte <Vincent.Laporte@gmail.com> dateWed 29 Nov 2017, 19:03 (9 years ago) parenta125946
1 file changed+3−2
pkgs/development/ocaml-modules/re/default.nix+3−2
pkgs/development/ocaml-modules/re/default.nix+3−2
@@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ ocaml findlib ocamlbuild ounit ];
1313
14− configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests";
14+ configurePhase = "ocaml setup.ml -configure --prefix $out"
15+ + stdenv.lib.optionalString doCheck " --enable-tests";
1516 buildPhase = "ocaml setup.ml -build";
16− doCheck = true;
17+ doCheck = !stdenv.lib.versionAtLeast ocaml.version "4.06";
1718 checkPhase = "ocaml setup.ml -test";
1819 installPhase = "ocaml setup.ml -install";
1920