[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/45: gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages.
From: |
guix-commits |
Subject: |
14/45: gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages. |
Date: |
Fri, 17 Feb 2023 10:49:32 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 74560bf3c3b1f373f2d10f71042beb97680f34f9
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:03 2023 +0100
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>
---
gnu/packages/ocaml.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6abd38e1ad..9069b320e9 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2963,6 +2963,11 @@ process. Also, in many cases, Lwt threads can interact
without the need for
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 @@ writing to these structures, and they are accessed via
the Bigarray module.")
"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")
- 39/45: gnu: Add ocaml-mirage-bootvar-unix., (continued)
- 39/45: gnu: Add ocaml-mirage-bootvar-unix., guix-commits, 2023/02/17
- 03/45: gnu: Add ocaml-ipaddr., guix-commits, 2023/02/17
- 21/45: gnu: Add ocaml-sexp-pretty., guix-commits, 2023/02/17
- 11/45: gnu: Add ocaml-duration., guix-commits, 2023/02/17
- 17/45: gnu: Add ocaml-mirage-profile., guix-commits, 2023/02/17
- 22/45: gnu: Add ocaml-expect-test-helpers-core., guix-commits, 2023/02/17
- 24/45: gnu: Add ocaml-core-unix., guix-commits, 2023/02/17
- 31/45: gnu: Add ocaml-async., guix-commits, 2023/02/17
- 05/45: gnu: Add ocaml-pecu., guix-commits, 2023/02/17
- 32/45: gnu: Add ocaml-shared-memory-ring., guix-commits, 2023/02/17
- 14/45: gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages.,
guix-commits <=
- 28/45: gnu: Add ocaml-textutils., guix-commits, 2023/02/17
- 26/45: gnu: Add ocaml-async-unix., guix-commits, 2023/02/17
- 23/45: gnu: Add ocaml-intrinsics., guix-commits, 2023/02/17
- 16/45: gnu: Add ocaml-mirage-profile-unix., guix-commits, 2023/02/17
- 08/45: gnu: Add ocaml-mirage-runtime., guix-commits, 2023/02/17
- 33/45: gnu: Add ocaml-shared-memory-ring-lwt., guix-commits, 2023/02/17
- 38/45: gnu: Add ocaml-parse-argv., guix-commits, 2023/02/17
- 43/45: gnu: Add python-virtualenv-clone., guix-commits, 2023/02/17
- 06/45: gnu: Add ocaml-emile., guix-commits, 2023/02/17
- 09/45: gnu: Add ocaml-functoria., guix-commits, 2023/02/17