logoalt Hacker News

Rucadilast Friday at 2:46 PM2 repliesview on HN

Nix allows you to do this with any language and required dependency: https://wiki.nixos.org/wiki/Nix-shell_shebang


Replies

HumanOstrichyesterday at 8:16 PM

Now you have to set up Nix first and deal with that nightmare of a learning curve. Just to auto-install some dependencies for a script.

Might as well rewrite all your scripts in Rust too while you're layering on unholy amounts of complexity.

show 1 reply
albertoCaroMlast Friday at 3:01 PM

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.

show 1 reply