Skip to content

Commit

Permalink
ocamlformat: Build on OCaml 4.14 (#361404)
Browse files Browse the repository at this point in the history
* ocamlformat: Build on OCaml 4.14

OCamlformat fails to build since the bump to OCaml 5.2 in
#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

(cherry picked from commit 8d3033a)
  • Loading branch information
Julow authored and vbgl committed Dec 4, 2024
1 parent 17f1918 commit c3b0870
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6863,12 +6863,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;

Expand Down

0 comments on commit c3b0870

Please sign in to comment.