From: zimoun <zimon.toutoune@gmail.com>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>, 61094@debbugs.gnu.org
Subject: [bug#61094] [PATCH] doc: Document 'shebang' for 'guix shell'.
Date: Tue, 07 Feb 2023 12:48:54 +0100 [thread overview]
Message-ID: <86v8kdn1ax.fsf@gmail.com> (raw)
In-Reply-To: <8e79fe217c633650394f2c5199e94e5d0c5a7911.camel@gmail.com>
Hi,
On Fri, 03 Feb 2023 at 23:54, Liliana Marie Prikler <liliana.prikler@gmail.com> wrote:
>> +@quotation Note
>> +@cindex shebang
>> +@command{guix shell} can be used as @emph{shebang}. Consider the
>> +previous example as an executable Python script, the @emph{shebang}
>> +reads,
>> +
>> +@example
>> +#!/usr/bin/env -S guix shell python python-nympy -- python3
>> +@end example
>> +
>> +All the @var{options} or convenience of @command{guix shell} apply.
>> +@end quotation
>> +
>
> Is this really guix running as a shell or is it actually a feature of
> env? In either case, it's worth documenting, but we should try to stay
> factually correct.
Well, I am not sure to understand the question. It is a feature of env
which allows to run “guix shell” which provides python3 as “shell”.
From my understanding, all written seems factually correct. Maybe I am
missing something and I would be happy to be corrected if I am doing
wrong. :-)
Cheers,
simon
next prev parent reply other threads:[~2023-02-07 12:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-27 11:12 [bug#61094] [PATCH] doc: Document 'shebang' for 'guix shell' Simon Tournier
2023-02-03 22:54 ` Liliana Marie Prikler
2023-02-07 11:48 ` zimoun [this message]
2023-02-09 16:07 ` Morgan Smith
2023-03-16 11:09 ` Ludovic Courtès
2023-03-16 11:21 ` bug#61094: " 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
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=86v8kdn1ax.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=61094@debbugs.gnu.org \
--cc=liliana.prikler@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 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).