3 ms·
Nix and Guix allow unprivileged package operations. I regularly run "one-off" stuff in a `guix environment` that includes all the required packages for that co
by ymse 9y ago
Nix and Guix allow unprivileged package operations.
I regularly run "one-off" stuff in a `guix environment` that includes all the required packages for that command, without polluting my user (or system) profile.
For example, I recently wanted to transfer a file over HTTP from one machine to another, and did not have the "python" executable in PATH. So I started it in a `guix environment` and "containerized" it (using user namespaces) just for show:
guix environment --container --network --ad-hoc python -- python3 -m http.server
That starts the HTTP server from the current directory, but the process can not see anything else from the "real" system.