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

Escape filename given to nix-shell in shebang mode #4281

Merged
merged 1 commit into from Jan 20, 2021

Conversation

lilyball
Copy link
Member

This prevents spaces or other metacharacters from causing nix-shell to execute the wrong path.

Fixes #4229.

This prevents spaces or other metacharacters from causing nix-shell to
execute the wrong path.

Fixes NixOS#4229.
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/391

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/443

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/is-there-a-holdup-on-reviewing-nix-prs/11069/1

@lilyball
Copy link
Member Author

@edolstra This has been sitting open for a while and is rather trivial, could I get this reviewed please?

@edolstra edolstra merged commit d04d846 into NixOS:master Jan 20, 2021
@edolstra
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nix-shell in shebang fails if script name has a space or other shell metacharacters
3 participants