Hi,

Jacob Hrbek <krey...@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’.

Reply via email to