lol

ocamlPackages.faillib: disable for OCaml ≥ 4.06

+5 -1
+5 -1
pkgs/development/ocaml-modules/faillib/default.nix
··· 1 - {stdenv, buildOcaml, fetchurl, herelib, camlp4}: 1 + { stdenv, buildOcaml, fetchurl, ocaml, herelib, camlp4 }: 2 + 3 + if stdenv.lib.versionAtLeast ocaml.version "4.06" 4 + then throw "faillib-111.17.00 is not available for OCaml ${ocaml.version}" 5 + else 2 6 3 7 buildOcaml rec { 4 8 minimumSupportedOcamlVersion = "4.00";