lol

ocamlPackages.functory: disable for OCaml ≥ 5.0

authored by

Vincent Laporte and committed by
Vincent Laporte
6cd24b01 f3fca40f

+3 -2
+3 -2
pkgs/development/ocaml-modules/functory/default.nix
··· 1 1 { lib, stdenv, fetchurl, ocaml, findlib }: 2 2 3 - assert lib.versionAtLeast (lib.getVersion ocaml) "3.11"; 4 - 5 3 let param = 6 4 if lib.versionAtLeast ocaml.version "4.02" then { 7 5 version = "0.6"; ··· 11 9 sha256 = "1j17rhifdjv1z262dma148ywg34x0zjn8vczdrnkwajsm4qg1hw3"; 12 10 }; 13 11 in 12 + 13 + lib.throwIf (lib.versionAtLeast ocaml.version "5.0") 14 + "functory is not available for OCaml ${ocaml.version}" 14 15 15 16 stdenv.mkDerivation { 16 17 pname = "ocaml${ocaml.version}-functory";