Skip to content

Commit

Permalink
ocamlformat: Build on OCaml 4.14
Browse files Browse the repository at this point in the history
OCamlformat fails to build since the bump to OCaml 5.2 in
NixOS#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.
  • Loading branch information
Julow authored and vbgl committed Dec 3, 2024
1 parent e8ea13d commit cd27048
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6813,12 +6813,9 @@ 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;

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_22_4 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; # latest version

inherit (ocamlPackages) odig;

Expand Down

0 comments on commit cd27048

Please sign in to comment.