diff options
author | Anders Kaseorg <andersk@mit.edu> | 2022-04-25 13:35:24 -0700 |
---|---|---|
committer | Anders Kaseorg <andersk@mit.edu> | 2022-04-25 13:35:24 -0700 |
commit | 6920d8ca42b081c874486ad16fc66f43d8bb8074 (patch) | |
tree | 7dcfdc6b44c84a854a68c9bc36d849e5c9470ad5 /pkgs/development/ocaml-modules/lablgl | |
parent | 00e66f10fa1120875201eace3b0a238f7d1b39ca (diff) |
treewide: Simplify negated uses of versionAtLeast, versionOlder
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'pkgs/development/ocaml-modules/lablgl')
-rw-r--r-- | pkgs/development/ocaml-modules/lablgl/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/lablgl/default.nix b/pkgs/development/ocaml-modules/lablgl/default.nix index 85c27f93a0918..fa525dbba813d 100644 --- a/pkgs/development/ocaml-modules/lablgl/default.nix +++ b/pkgs/development/ocaml-modules/lablgl/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchFromGitHub, ocaml, findlib, libGLU, libGL, freeglut } : -if !lib.versionAtLeast ocaml.version "4.03" +if lib.versionOlder ocaml.version "4.03" then throw "lablgl is not available for OCaml ${ocaml.version}" else |