4 ms·
One use case I liked for nix-shell shebangs was having a Python script which used Jinja templates. By adding a line like `#!nix-shell -i python ...`, it means
by rgoulter 5y ago
One use case I liked for nix-shell shebangs was having a Python script which used Jinja templates.
By adding a line like `#!nix-shell -i python ...`, it means that I could just run this Python script with "nix-shell generate.py".
It's not that installing jinja itself is hard.. it's just that it's a nicer "Developer Experience" to jump back into the project without having to fiddle with re-installing stuff.