summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/cppo/ocamlbuild.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/ocaml/cppo/ocamlbuild.nix')
-rw-r--r--pkgs/development/tools/ocaml/cppo/ocamlbuild.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/ocaml/cppo/ocamlbuild.nix b/pkgs/development/tools/ocaml/cppo/ocamlbuild.nix
index 633dc6bc7bf..d0627480ea1 100644
--- a/pkgs/development/tools/ocaml/cppo/ocamlbuild.nix
+++ b/pkgs/development/tools/ocaml/cppo/ocamlbuild.nix
@@ -1,6 +1,6 @@
 { lib, buildDunePackage, cppo, ocamlbuild }:
 
-if !lib.versionAtLeast (lib.getVersion cppo) "1.6"
+if lib.versionOlder (lib.getVersion cppo) "1.6"
 then cppo
 else