all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Csepp <raingloom@riseup.net>
To: 60673@debbugs.gnu.org
Cc: raingloom <raingloom@riseup.net>
Subject: [bug#60673] [PATCH 14/39] gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages.
Date: Mon,  9 Jan 2023 01:35:04 +0100	[thread overview]
Message-ID: <20230109003529.23375-14-raingloom@riseup.net> (raw)
In-Reply-To: <20230109003529.23375-1-raingloom@riseup.net>

From: raingloom <raingloom@riseup.net>

* gnu/packages/ocaml.scm (ocaml-lwt-ppx ocaml-cstruct-unix
  ocaml-cstruct-sexp): New variables.
---
We've discussed aliases vs variants with Julien Lepiller and yeah, these are not ideal, but also it's unclear how variants could be used when the original packages already explicitly specify which subpackage they are building.
But, perfect is the enemy of the good.  So I'm gonna leave these aliases in for now because I have a lot more MirageOS stuff to work on for my thesis project at uni.

 gnu/packages/ocaml.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 53252aac03..ee4c1cf91a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2971,6 +2971,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")
@@ -4458,6 +4463,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")
-- 
2.38.1





  parent reply	other threads:[~2023-01-09  0:37 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09  0:34 [bug#60673] [PATCH 01/39] gnu: Add ocaml-domain-name Csepp
2023-01-09  0:34 ` [bug#60671] [PATCH 02/39] gnu: Add ocaml-macaddr Csepp
2023-01-09  0:34 ` [bug#60672] [PATCH 03/39] gnu: Add ocaml-ipaddr Csepp
2023-01-09  0:34 ` [bug#60674] [PATCH 04/39] gnu: Add ocaml-opam-monorepo Csepp
2023-01-09  0:34 ` [bug#60675] [PATCH 05/39] gnu: Add ocaml-pecu Csepp
2023-01-09  0:34 ` [bug#60676] [PATCH 06/39] gnu: Add ocaml-emile Csepp
2023-01-09  0:34 ` [bug#60677] [PATCH 07/39] gnu: Add ocaml-functoria-runtime Csepp
2023-01-09  0:34 ` [bug#60678] [PATCH 08/39] gnu: Add ocaml-mirage-runtime Csepp
2023-01-09  0:34 ` [bug#60679] [PATCH 09/39] gnu: Add ocaml-functoria Csepp
2023-01-09  0:35 ` [bug#60680] [PATCH 10/39] gnu: Add ocaml-mirage Csepp
2023-01-09  0:35 ` [bug#60681] [PATCH 11/39] gnu: Add ocaml-duration Csepp
2023-01-09  0:35 ` [bug#60682] [PATCH 12/39] gnu: Add ocaml-mirage-unix Csepp
2023-01-09  0:35 ` [bug#60683] [PATCH 13/39] gnu: Add ocaml-mirage-time Csepp
2023-01-09  0:35 ` Csepp [this message]
2023-01-09  0:35 ` [bug#60673] [PATCH 15/39] gnu: Add ocaml-ppx-cstruct Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 16/39] gnu: Add ocaml-mirage-profile-unix Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 17/39] gnu: Add ocaml-mirage-profile Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 18/39] gnu: Add ocaml-mirage-clock Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 19/39] gnu: Add ocaml-ptime Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 20/39] gnu: Add ocaml-mirage-logs Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 21/39] gnu: Add ocaml-sexp-pretty Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 22/39] gnu: Add ocaml-expect-test-helpers-core Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 23/39] gnu: Add ocaml-intrinsics Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 24/39] gnu: Add ocaml-core-unix Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 25/39] gnu: Add ocaml-async-kernel Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 26/39] gnu: Add ocaml-async-unix Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 27/39] gnu: Add ocaml-textutils-kernel Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 28/39] gnu: Add ocaml-textutils Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 29/39] gnu: Add ocaml-protocol-version-header Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 30/39] gnu: Add ocaml-async-rpc-kernel Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 31/39] gnu: Add ocaml-async Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 32/39] gnu: Add ocaml-shared-memory-ring Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 33/39] gnu: Alias ocaml-shared-memory-ring-lwt to ocaml-shared-memory-ring Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 34/39] gnu: Add ocaml-xenstore Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 35/39] gnu: Add ocaml-io-page Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 36/39] gnu: Add ocaml-bheap Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 37/39] gnu: Add ocaml-mirage-xen Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 38/39] gnu: Add ocaml-parse-argv Csepp
2023-01-09  0:35 ` [bug#60673] [PATCH 39/39] gnu: Add ocaml-mirage-bootvar-unix Csepp
2023-02-07  7:57 ` [bug#60673] [PATCH 01/39] gnu: Add ocaml-domain-name Christopher Baines
2023-02-08  1:37   ` Csepp
2023-02-08  7:32     ` Christopher Baines
2023-02-17  1:03       ` Csepp
2023-02-17  6:41         ` Julien Lepiller
2023-02-17 15:50           ` Christopher Baines
2023-02-15 21:59 ` [bug#60673] Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 01/39] gnu: Add ocaml-domain-name Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 02/39] gnu: Add ocaml-macaddr Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 03/39] gnu: Add ocaml-ipaddr Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 04/39] gnu: Add ocaml-opam-monorepo Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 05/39] gnu: Add ocaml-pecu Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 06/39] gnu: Add ocaml-emile Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 07/39] gnu: Add ocaml-functoria-runtime Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 08/39] gnu: Add ocaml-mirage-runtime Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 09/39] gnu: Add ocaml-functoria Csepp
2023-02-15 21:59   ` [bug#60673] [PATCH v2 10/39] gnu: Add ocaml-mirage Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 12/39] gnu: Add ocaml-mirage-unix Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 13/39] gnu: Add ocaml-mirage-time Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 14/39] gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 15/39] gnu: Add ocaml-ppx-cstruct Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 16/39] gnu: Add ocaml-mirage-profile-unix Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 17/39] gnu: Add ocaml-mirage-profile Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 18/39] gnu: Add ocaml-mirage-clock Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 19/39] gnu: Add ocaml-ptime Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 20/39] gnu: Add ocaml-mirage-logs Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 21/39] gnu: Add ocaml-sexp-pretty Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 22/39] gnu: Add ocaml-expect-test-helpers-core Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 23/39] gnu: Add ocaml-intrinsics Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 24/39] gnu: Add ocaml-core-unix Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 25/39] gnu: Add ocaml-async-kernel Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 26/39] gnu: Add ocaml-async-unix Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 27/39] gnu: Add ocaml-textutils-kernel Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 28/39] gnu: Add ocaml-textutils Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 29/39] gnu: Add ocaml-protocol-version-header Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 30/39] gnu: Add ocaml-async-rpc-kernel Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 31/39] gnu: Add ocaml-async Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 32/39] gnu: Add ocaml-shared-memory-ring Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 33/39] gnu: Add ocaml-shared-memory-ring-lwt Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 34/39] gnu: Add ocaml-xenstore Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 35/39] gnu: Add ocaml-io-page Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 36/39] gnu: Add ocaml-bheap Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 37/39] gnu: Add ocaml-mirage-xen Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 38/39] gnu: Add ocaml-parse-argv Csepp
2023-02-15 22:00   ` [bug#60673] [PATCH v2 39/39] gnu: Add ocaml-mirage-bootvar-unix Csepp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230109003529.23375-14-raingloom@riseup.net \
    --to=raingloom@riseup.net \
    --cc=60673@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.