26 ms·
Virtualenv isn't supposed to handle non-Python dependencies. Why use Nix instead of containers or VMs?
by pekk 11y ago
Virtualenv isn't supposed to handle non-Python dependencies.
Why use Nix instead of containers or VMs?
- ris 11y ago"Virtualenv isn't supposed to handle non-Python dependencies." Making it kinda useless for anything like numpy or scipy. "Why use Nix instead of containers or VMs?" Well, why use virtualenvs instead of containers or VMs? Because it's lighter weight and more straightforward. And doesn't require you to swap out your whole working environment every time you want a slightly different package setup. Containers and VMs are a bad excuse for "I don't have a hope of getting the dependencies of my setup under control so I'm just going to ball them all up into this great big binary image." Nix packages are incredibly flexible and composable in comparison.