all messages for Guix-related lists mirrored at
 help / color / mirror / code / Atom feed
From: Csepp <>
To: Christopher Rodriguez <>
Subject: Re: A Few Packaging Questions
Date: Fri, 05 Aug 2022 18:35:32 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>


Christopher Rodriguez <> writes:

> [[PGP Signed Part:Undecided]]
> Hello All,
> 1. Is there a way to call non-exported procedures from a module in
> Guile?

There is one but you should not use it.  Instead you should send a patch
that adds an export to the previously private declaration.
And the way is to use the @@ function, but code that relies on it is
AFAIK not acceptable in Guix.

> 2. Is there a list of variables accessible using gexps somewhere, or
> some source code I might be able to glean the same information from?
> I have just discovered #$output as a somewhat useful tool, and I'm
> currently looking to learn more ahead of when I might need them.

The info pages should have more, well, info.  Easiest way to find them
IMHO is through Emacs.  There is also an HTML mirror:

> 3. What is the canonical way in the new input system to reference a
> specific output of a package?

According to the URL above, it's #$output[:output].

I hope that helped.  Happy packaging. UwU

  reply	other threads:[~2022-08-05 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05  2:50 Christopher Rodriguez
2022-08-05 16:35 ` Csepp [this message]
2022-08-07 21:02 ` Ludovic Courtès

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:

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

  git send-email \ \ \ \ \

* 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

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.