News for hackers. Stuff that matters.
Re:Use Python for Scripting by albertoCaroM on Friday December 12, 2025 @10:01AM (#46244755)
Whoa! This is a revelation. I already loved Nix and used nix-shell extensively, but this is the missing piece: fully reproducible Python scripts without compromise.
Re:Use Python for Scripting by luz666 on Saturday December 13, 2025 @05:26AM (#46253554)
Or install direnv and put your dependencies into a shell.nix, setup the bash hook according the manual, create the .envrc with the content "use nix". Then type "direnv allow".

Then you can do e.g. use other persons python scripts without modifying their shebang.