Loading pkgs/development/ocaml-modules/ppxlib/default.nix +5 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ if lib.versionAtLeast ocaml.version "4.07" then if lib.versionAtLeast ocaml.version "4.08" then if lib.versionAtLeast ocaml.version "4.11" then "0.32.1" else "0.24.0" else "0.15.0" else "0.13.0" then "0.33.0" else "0.24.0" else "0.15.0" else "0.13.0" , ocaml-compiler-libs, ocaml-migrate-parsetree, ppx_derivers, stdio , stdlib-shims, ocaml-migrate-parsetree-2 }: Loading Loading @@ -67,6 +67,10 @@ let param = { sha256 = "sha256-nbrYvLHItPPfP1i8pgpe0j2GUx8No0tBlshr1YXAnX8="; min_version = "4.07"; }; "0.33.0" = { sha256 = "sha256-/6RO9VHyO3XiHb1pijAxBDE4Gq8UC5/kuBwucKLSxjo="; min_version = "4.07"; }; }."${version}"; in if param ? max_version && lib.versionAtLeast ocaml.version param.max_version Loading Loading
pkgs/development/ocaml-modules/ppxlib/default.nix +5 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ if lib.versionAtLeast ocaml.version "4.07" then if lib.versionAtLeast ocaml.version "4.08" then if lib.versionAtLeast ocaml.version "4.11" then "0.32.1" else "0.24.0" else "0.15.0" else "0.13.0" then "0.33.0" else "0.24.0" else "0.15.0" else "0.13.0" , ocaml-compiler-libs, ocaml-migrate-parsetree, ppx_derivers, stdio , stdlib-shims, ocaml-migrate-parsetree-2 }: Loading Loading @@ -67,6 +67,10 @@ let param = { sha256 = "sha256-nbrYvLHItPPfP1i8pgpe0j2GUx8No0tBlshr1YXAnX8="; min_version = "4.07"; }; "0.33.0" = { sha256 = "sha256-/6RO9VHyO3XiHb1pijAxBDE4Gq8UC5/kuBwucKLSxjo="; min_version = "4.07"; }; }."${version}"; in if param ? max_version && lib.versionAtLeast ocaml.version param.max_version Loading