all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Lassieur" <clement@lassieur.org>
To: "Maxim Cournoyer" <maxim.cournoyer@gmail.com>
Cc: 66605@debbugs.gnu.org
Subject: [bug#66605] [PATCH v2] etc: gitconfig: Run etc/teams.scm from correct environment.
Date: Thu, 19 Oct 2023 10:05:26 +0000	[thread overview]
Message-ID: <d6e1a604-f9e5-490d-ba5c-e1e65228c120@app.fastmail.com> (raw)
In-Reply-To: <878r7zqt7r.fsf@gmail.com>

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


> Even nicer could be using 'guix repl' in the teams.scm script shebang.
> This way even for those using it outside of 'git send-email', it'd
> always work.

I can't find a nice solution to do that.  And I think people who run teams.scm directly will expect a guile crash and make sure to get the correct environment, so it's not really a problem at that point.

This is not the case for people who run `git send-email`.  Those people don't expect a guile crash.

So if you have a clean solution that works in a shebang (without the file being detected as a shell script by most editors), please show it :-)

[-- Attachment #2: Type: text/html, Size: 943 bytes --]

  reply	other threads:[~2023-10-19 10:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-18 12:05 [bug#66605] [PATCH] etc: gitconfig: Run etc/teams.scm from correct environment Clément Lassieur
2023-10-18 17:54 ` Maxim Cournoyer
2023-10-18 20:52   ` Clément Lassieur
2023-10-18 21:50 ` [bug#66605] [PATCH v2] " Clément Lassieur
2023-10-19  1:39   ` Maxim Cournoyer
2023-10-19  1:47   ` Maxim Cournoyer
2023-10-19 10:05     ` Clément Lassieur [this message]
2023-10-21  3:39       ` [bug#66605] [PATCH v3] teams: Adjust shebang to use 'guix repl' Maxim Cournoyer
2023-10-22 20:07 ` [bug#66605] [PATCH v5] " Maxim Cournoyer
2023-10-22 20:23   ` Clément Lassieur
2023-10-23  0:39     ` bug#66605: " Maxim Cournoyer

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=d6e1a604-f9e5-490d-ba5c-e1e65228c120@app.fastmail.com \
    --to=clement@lassieur.org \
    --cc=66605@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /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.