News for hackers. Stuff that matters.
Re:uv Running a Script with Dependencies by theesm on Tuesday July 22, 2025 @06:55AM (#44645384)
I've been doing something similiar utilizing guix shell[0] setting my shebang to e.g.:

#!/usr/bin/env -S guix shell python python-requests python-pandas -- python3

in scripts for including per-script dependencies. This is language agnostic as long as the interpreter and its dependencies are available as guix packages. I think there may be a similiar approach for utilizing nix shells that way as well.

[0]: https://guix.gnu.org/manual/en/html_node/Invoking-guix-shell...

Re:uv Running a Script with Dependencies by zahlman on Tuesday July 22, 2025 @02:59PM (#44651548)
Do these environments reuse existing system-installed packages and hard-link the files?