From: Mathieu Othacehe <othacehe@gnu.org>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Finding the channel in which a package is defined
Date: Thu, 01 Apr 2021 15:26:42 +0200 [thread overview]
Message-ID: <871rburv8t.fsf@gnu.org> (raw)
In-Reply-To: <m15z1648tb.fsf@khs-macbook.home> (Konrad Hinsen's message of "Thu, 01 Apr 2021 12:07:28 +0200")
Hello Konrad,
> Is there a simple way to find out in which channel a given package was
> defined? I tried "guix edit" to see the source code, but it shows a file
> from a "module-union" directory in the store.
You can run something like:
--8<---------------cut here---------------start------------->8---
,use (guix describe) (gnu packages) (gnu packages linux)
(%package-module-path)
(package-channels strace)
--8<---------------cut here---------------end--------------->8---
in a "guix repl" to determine the channel providing "strace". If you
replace "strace" by a package provided by my-channel, "package-channels"
should return a list containing the default Guix channel as well as
my-channel.
Mathieu
next prev parent reply other threads:[~2021-04-01 13:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 10:07 Finding the channel in which a package is defined Konrad Hinsen
2021-04-01 10:11 ` Tobias Geerinckx-Rice
2021-04-01 10:25 ` Konrad Hinsen
2021-04-01 12:27 ` Tobias Geerinckx-Rice
2021-04-01 13:04 ` Ricardo Wurmus
2021-04-01 13:26 ` Mathieu Othacehe [this message]
2021-04-01 13:39 ` Tobias Geerinckx-Rice
2021-04-01 14:06 ` Pierre Neidhardt
2021-04-01 16:11 ` Konrad Hinsen
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871rburv8t.fsf@gnu.org \
--to=othacehe@gnu.org \
--cc=guix-devel@gnu.org \
--cc=konrad.hinsen@fastmail.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).