gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages.

* gnu/packages/ocaml.scm (ocaml-lwt-ppx ocaml-cstruct-unix
  ocaml-cstruct-sexp): New variables.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
raingloom 2023-02-15 23:00:03 +01:00 committed by Christopher Baines
parent 14ccbf500c
commit 74560bf3c3
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -2963,6 +2963,11 @@ (define-public ocaml-lwt
locks or other synchronization primitives.")
(license license:lgpl2.1)))
;; TODO this alias is not ideal but ocaml-lwt already explicitly specifies a
;; package argument and at least this way the importer doesn't try to
;; re-import it.
(define ocaml-lwt-ppx ocaml-lwt)
(define-public ocaml-lwt-dllist
(package
(name "ocaml-lwt-dllist")
@ -4451,6 +4456,12 @@ (define-public ocaml4.07-cstruct
"0jj3whs8r3jc524i9bb67rffh7y7r157hjgvws0bkxijxpjzwkbk"))))
(properties '()))))
;; TODO again, the "parent" package already has an explicit package argument,
;; so a variant package doesn't make sense, at least these aliases help the
;; importer out so it doesn't re-import things. At least hopefully.
(define ocaml-cstruct-unix ocaml-cstruct)
(define ocaml-cstruct-sexp ocaml-cstruct)
(define-public ocaml-hex
(package
(name "ocaml-hex")