diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/bz2/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/bz2/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/bz2/default.nix b/pkgs/development/ocaml-modules/bz2/default.nix index 4ac0262e1ee..6d8b56ae232 100644 --- a/pkgs/development/ocaml-modules/bz2/default.nix +++ b/pkgs/development/ocaml-modules/bz2/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchFromGitLab, ocaml, findlib, bzip2, autoreconfHook }: -if !lib.versionAtLeast ocaml.version "4.02" +if lib.versionOlder ocaml.version "4.02" then throw "bz2 is not available for OCaml ${ocaml.version}" else |