> For now I use “#!/usr/bin/env -S guix shell --”, which works well enough for 
> me.  How does that sound? -- [email protected]

Not a solution as (AFIAK) POSIX only accepts one argument.

-- Jacob "Kreyren" Hrbek

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Tuesday, November 9th, 2021 at 5:21 PM, Ludovic Courtès <[email protected]> wrote:

> Hi,
> 

> Jacob Hrbek [email protected] skribis:
> 

> > I am unable to define a guix shell file with shebang to decrease the 
> > complexity needed in the repository managing (so
> > 

> > that i can just do ./path/to/guix.scm for guix to invoke `guix shell -f 
> > ./path/to/guix.scm` instead of having to
> > 

> > sanitize the runtime) as the issue is that POSIX shebang allows only one 
> > argument and due to the way we handle
> > 

> > reproducibility the shebang has to be `#!/usr/bin/env <command>`
> > 

> > Proposing to integrate guix-shell for this purpose (inspired by NixOS) e.g.
> 

> This was briefly discussed here:
> 

> https://issues.guix.gnu.org/50960#22
> 

> For now I use “#!/usr/bin/env -S guix shell --”, which works well enough
> 

> for me. How does that sound?
> 

> Thanks,
> 

> Ludo’.

Attachment: publickey - [email protected] - 0x1677DB82.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to