Skip to content

Commit

Permalink
add stable ocaml-system compilers (5.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
rizo authored Apr 29, 2024
1 parent d83f090 commit 6c132df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/onix_core/Nix_utils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,8 @@ let make_ocaml_packages_path version =
| "4.12.1" -> "ocaml-ng.ocamlPackages_4_12.ocaml"
| "4.13.1" -> "ocaml-ng.ocamlPackages_4_13.ocaml"
| "4.14.1" -> "ocaml-ng.ocamlPackages_4_14.ocaml"
(* [NOTE] This currently doesn't work because opam doesn't have the "-beta1"
version. Once `ocamlPackages` has a non-beta 5.0, we can add it here. *)
(* | "5.0.0-beta1" -> "ocaml-ng.ocamlPackages_5_0.ocaml" *)
| "5.0.0" -> "ocaml-ng.ocamlPackages_5_0.ocaml"
| "5.1.1" -> "ocaml-ng.ocamlPackages_5_1.ocaml"
| unsupported ->
Fmt.failwith "Unsupported nixpkgs ocaml version: %s" unsupported

Expand Down

0 comments on commit 6c132df

Please sign in to comment.