diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index f77de1057e57..ef534f189ae0 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -120,7 +120,7 @@ let giflib = pkgs.giflib_4_1; }; camlimages = - if lib.versionOlder "4.05" ocaml.version + if lib.versionOlder "4.06" ocaml.version then callPackage ../development/ocaml-modules/camlimages { } else camlimages_4_1;