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.
Also 24 lines of Python with httpx and bs4 that took about 20 minutes just saved me multiple hours of time-consuming work.
@tommorris Hey Tom, do you happen to know a good getting started guide for Nix/NixOS written for mere mortals? I really feel I should be using Nix but every time I look into I get frustrated trying to set up a working system and leave it at that.
I can really recommend https://zero-to-nix.com/start/install
It's opinionated on what features to use but to start it's really neat
@Scriptkiddi @tommorris Thanks. (It ok, I’m rather opinionated myself) ;P