News for hackers. Stuff that matters.
Re:Self-contained Python scripts with uv by skavi on Sunday March 30, 2025 @04:27AM (#43522428)
Yup, and you can apply the same technique to any language. The obvious example is bash with all the dependencies specified, but I’ve also hacked up quick single file rust scripts using nix shebangs.

https://nixos.wiki/wiki/Nix-shell_shebang

There are no comments on this comment yet.