all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Morgan Smith <Morgan.J.Smith@outlook.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Liliana Marie Prikler <liliana.prikler@gmail.com>, 61094@debbugs.gnu.org
Subject: [bug#61094] [PATCH] doc: Document 'shebang' for 'guix shell'.
Date: Thu, 09 Feb 2023 11:07:19 -0500	[thread overview]
Message-ID: <DM5PR03MB3163BD454A5535BB756DA4D8C5D99@DM5PR03MB3163.namprd03.prod.outlook.com> (raw)
In-Reply-To: <86v8kdn1ax.fsf@gmail.com> (zimoun's message of "Tue, 07 Feb 2023 12:48:54 +0100")

Hello,

>>> +@example
>>> +#!/usr/bin/env -S guix shell python python-nympy -- python3
>>> +@end example

Apparently, according to POSIX you're only allowed one argument on the
'#!' line after the path of the executable.  I haven't confirmed this
myself but it is in the guile manual, section 4.3.2 "The Meta Switch".

One argument does seem quite limiting though so I wonder if anyone
actually imposes that limit.


Morgan




  reply	other threads:[~2023-02-09 16:08 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
2023-02-09 16:07     ` Morgan Smith [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM5PR03MB3163BD454A5535BB756DA4D8C5D99@DM5PR03MB3163.namprd03.prod.outlook.com \
    --to=morgan.j.smith@outlook.com \
    --cc=61094@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    --cc=zimon.toutoune@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.