about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bitstring
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2022-04-25 13:35:24 -0700
committerAnders Kaseorg <andersk@mit.edu>2022-04-25 13:35:24 -0700
commit6920d8ca42b081c874486ad16fc66f43d8bb8074 (patch)
tree7dcfdc6b44c84a854a68c9bc36d849e5c9470ad5 /pkgs/development/ocaml-modules/bitstring
parent00e66f10fa1120875201eace3b0a238f7d1b39ca (diff)
treewide: Simplify negated uses of versionAtLeast, versionOlder
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'pkgs/development/ocaml-modules/bitstring')
-rw-r--r--pkgs/development/ocaml-modules/bitstring/ppx.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/bitstring/ppx.nix b/pkgs/development/ocaml-modules/bitstring/ppx.nix
index 4d391d3458dc1..9eb4c74f574c5 100644
--- a/pkgs/development/ocaml-modules/bitstring/ppx.nix
+++ b/pkgs/development/ocaml-modules/bitstring/ppx.nix
@@ -3,7 +3,7 @@
 , ounit
 }:
 
-if !lib.versionAtLeast ppxlib.version "0.18.0"
+if lib.versionOlder ppxlib.version "0.18.0"
 then throw "ppx_bitstring is not available with ppxlib-${ppxlib.version}"
 else