What is Nostr?
Tom Morris /
npub187c…3rzp
2024-03-02 10:51:25

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
Author Public Key
npub187cryu7vlwfmgad5mgddh3msjhjejqg7knxn604nygqv604qge5q7x3rzp