Tom Morris on Nostr: Nix-shell shebangs are really handy. Today, I needed to write a quick and dirty ...
Nix-shell shebangs are really handy.
Today, I needed to write a quick and dirty Python script to do some web page parsing and regexery, so just popped in python311 and python311Packages..
No pyproject.toml, no containers, no Docker, no venv. Run it, use result, then Nix's garbage collector will throwaway the dependencies when we're done.
https://nixos.wiki/wiki/Nix-shell_shebang
Today, I needed to write a quick and dirty Python script to do some web page parsing and regexery, so just popped in python311 and python311Packages..
No pyproject.toml, no containers, no Docker, no venv. Run it, use result, then Nix's garbage collector will throwaway the dependencies when we're done.
https://nixos.wiki/wiki/Nix-shell_shebang