5 ms·
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 -- pyt
by theesm 1y ago
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.html https://guix.gnu.org/manual/en/html_node/Invoking-guix-shell...
- zahlman 1y agoDo these environments reuse existing system-installed packages and hard-link the files?