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 <julien@lepiller.eu>
This commit is contained in:
Jason Conroy 2025-12-02 09:25:16 -05:00 committed by Julien Lepiller
parent 32a34a63a2
commit cc5b9ebb8e
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -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