diff --git a/pkgs/development/ocaml-modules/ppxlib/default.nix b/pkgs/development/ocaml-modules/ppxlib/default.nix index 822c30daf26d..d5b09b1ddc21 100644 --- a/pkgs/development/ocaml-modules/ppxlib/default.nix +++ b/pkgs/development/ocaml-modules/ppxlib/default.nix @@ -21,7 +21,7 @@ let param = { if param ? max_version && lib.versionAtLeast ocaml.version param.max_version || param ? min_version && !lib.versionAtLeast ocaml.version param.min_version -then throw "ppxlib-${param.version} is not available for OCaml ${ocaml.version}" +then throw "ppxlib-${version} is not available for OCaml ${ocaml.version}" else buildDunePackage rec {