Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename #! nix-shell to #! nix #7061

Closed
fricklerhandwerk opened this issue Sep 19, 2022 · 2 comments
Closed

Rename #! nix-shell to #! nix #7061

fricklerhandwerk opened this issue Sep 19, 2022 · 2 comments
Labels
documentation feature Feature request or proposal

Comments

@fricklerhandwerk
Copy link
Contributor

fricklerhandwerk commented Sep 19, 2022

Of the many things nix-shell does, "entering an environment" and "wrapping an interpreted script" have absolutely nothing to do with each other.

In particular, the shebang feature is not limited to shell scripts.

It would greatly ease telling a story around Nix features (and making it discoverable) if independent features would have distinguishable names.

Alternatives

I imagine making it work for nix would require doing something involved to the top-level nix command.

Therefore, a cheap alternative would be to introduce a dedicated alias such as nix-interpreter or nix-script.

@fricklerhandwerk fricklerhandwerk added feature Feature request or proposal documentation labels Sep 19, 2022
@thufschmitt
Copy link
Member

Linked: #5189

@iFreilicht
Copy link
Contributor

This was fixed by #8327, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation feature Feature request or proposal
Projects
None yet
Development

No branches or pull requests

3 participants