guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to define shebang for guix shell file


From: Jacob Hrbek
Subject: Re: Unable to define shebang for guix shell file
Date: Tue, 09 Nov 2021 21:35:30 +0000

> For now I use “#!/usr/bin/env -S guix shell --”, which works well enough for 
> me.  How does that sound? -- ludo@gnu.org

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 <ludo@gnu.org> wrote:

> Hi,
> 

> Jacob Hrbek kreyren@rixotstudio.cz 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 - kreyren@rixotstudio.cz - 0x1677DB82.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]