ocamlformat: Build on OCaml 4.14 (#361404)

* ocamlformat: Build on OCaml 4.14

OCamlformat fails to build since the bump to OCaml 5.2 in
https://github.com/NixOS/nixpkgs/pull/346071

       error: ocamlformat 0.26.1 is not available for OCaml 5.2.1

This changes which version of the compiler is used to build OCamlformat.
4.14 is used to increase sharing when several versions of the tool are
used at the same time. This will not change OCamlformat's behaviors.

* ocamlformat_0_26_2: Build on the latest compiler
This commit is contained in:
Jules Aguillon
2024-12-03 21:10:47 +01:00
committed by GitHub
parent 2cbf9757cc
commit 8d3033ab45
+3 -3
View File
@@ -6796,12 +6796,12 @@ with pkgs;
inherit (ocaml-ng.ocamlPackages_4_14)
ocamlformat_0_19_0 ocamlformat_0_20_0 ocamlformat_0_20_1 ocamlformat_0_21_0
ocamlformat_0_22_4;
ocamlformat_0_22_4 ocamlformat_0_23_0 ocamlformat_0_24_1 ocamlformat_0_25_1
ocamlformat_0_26_0 ocamlformat_0_26_1;
inherit (ocamlPackages)
ocamlformat # latest version
ocamlformat_0_23_0 ocamlformat_0_24_1 ocamlformat_0_25_1 ocamlformat_0_26_0
ocamlformat_0_26_1 ocamlformat_0_26_2;
ocamlformat_0_26_2;
inherit (ocamlPackages) odig;