guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit c2da34b283786d4460a6437edeaa38dc14ef75be
Author: Jason Conroy <[email protected]>
AuthorDate: Tue Dec 2 09:25:16 2025 -0500
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 <[email protected]>
---
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 4cd7dba3d8..c2b79af9bc 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