From cc5b9ebb8ef4e08cf94319f66fa1ad009625a099 Mon Sep 17 00:00:00 2001 From: Jason Conroy Date: Tue, 2 Dec 2025 09:25:16 -0500 Subject: [PATCH] guix: ocaml-build-system: Use more general names for OCaml 5.x package aliases. guix/build-system/ocaml.scm (default-ocaml5, default-ocaml5-findlib) (default-ocaml5-dune): New variables. Change-Id: I5e3e5a1877ff83e0e7aa875c6bbf458b043ab66c Signed-off-by: Julien Lepiller --- guix/build-system/ocaml.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/guix/build-system/ocaml.scm b/guix/build-system/ocaml.scm index 4cd7dba3d8e..c2b79af9bc6 100644 --- a/guix/build-system/ocaml.scm +++ b/guix/build-system/ocaml.scm @@ -123,6 +123,14 @@ (define (default-ocaml5.3-dune) (@* (gnu packages ocaml) ocaml5.3-dune)) +;; The default versions of core packages within the 5.x series. + +(define default-ocaml5 default-ocaml5.3) + +(define default-ocaml5-findlib default-ocaml5.3-findlib) + +(define default-ocaml5-dune default-ocaml5.3-dune) + (define* (package-with-explicit-ocaml ocaml findlib dune old-prefix new-prefix #:key variant-property) "Return a procedure of one argument, P. The procedure creates a package