unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: EuAndreh <eu@euandre.org>
To: help-guix <help-guix@gnu.org>
Subject: How to select git:send-email output in config.scm?
Date: Sat, 08 Aug 2020 06:50:32 -0300	[thread overview]
Message-ID: <875z9txy8n.fsf@euandre.org> (raw)

Hi guix!

How can I selecet the git:send-email output in my "operating-system"
declaration inside config.scm?

Right now I only have the git package, but I don't know which output it
is selecting. I guess the git:out one?

I tried adding it just like that to my config.scm declaration:

--8<---------------cut here---------------start------------->8---
  (packages
    (append
      (map specification->package
           '("git"
             "git:send-email"
             ...)
--8<---------------cut here---------------end--------------->8---

But when running guix system reconfigure, it complains about it, saying:

--8<---------------cut here---------------start------------->8---
guix system: error: git:send-email: unknown package
guix system: error: failed to load 'guix.scm':
ice-9/boot-9.scm:222:17: In procedure map1:
--8<---------------cut here---------------end--------------->8---

However, running "guix environment --ad-hoc git:send-email" does work.

I got a bit confused by that. On IRC pkill9 mentioned that "git" is a
package, but "git:send-email" is an output. But isn't "git" the same as
"git:out"?

How can I declare that I want the "git:send-email" output also installed
in my config.scm?


             reply	other threads:[~2020-08-08 10:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-08  9:50 EuAndreh [this message]
2020-08-08 11:26 ` How to select git:send-email output in config.scm? Tobias Geerinckx-Rice
2020-08-08 14:11   ` EuAndreh
2020-08-08 18:16     ` Tobias Geerinckx-Rice
2020-08-08 20:53       ` EuAndreh
2020-08-08 11:33 ` Tobias Geerinckx-Rice

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=875z9txy8n.fsf@euandre.org \
    --to=eu@euandre.org \
    --cc=help-guix@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.
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).