all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Rodriguez <cdr255@gmail.com>
To: guix-devel@gnu.org
Subject: A Few Packaging Questions
Date: Thu, 04 Aug 2022 22:50:47 -0400	[thread overview]
Message-ID: <875yj75r6t.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

Hello All,

1. Is there a way to call non-exported procedures from a module in
Guile?

I am looking to solve the non-determinism in one of the above-submitted
packages (dbqn), and per https://github.com/dzaima/BQN/issues/14 it
seems the issue is timestamps in jarfiles, which ant-build-system
handles in its strip-jar-timestamps procedure. I'd like to call that
procedure from that module rather than copy it into the bqn.scm module,
but I can't build the package with ant, so I'm looking for a way to call
it without switching systems.

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.

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

I first learned `("label" ,package "output"), and I've seen `(,package
"output") in the devel version of the manual, but when I recently did a
guix lint on some package definitions that used `(,openjdk "jdk") I got
a warning:

label 'openjdk' does not match package name 'openjdk:jdk'

I want to make sure I am doing things the "most correct" way, so I
figured I'd ask here.

Thank You for taking the time to read my questions, and I hope You have
a great day!

--

Christopher Rodriguez

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05  2:50 Christopher Rodriguez [this message]
2022-08-05 16:35 ` A Few Packaging Questions Csepp
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:
  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=875yj75r6t.fsf@gmail.com \
    --to=cdr255@gmail.com \
    --cc=guix-devel@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.