|
|
|
|
|
by lilyball
1386 days ago
|
|
Other package managers are okay with requiring sudo because they install stuff globally. Nix doesn't have that restriction, you can use it for local stuff, temporary shell environments, etc. So you need non-admin users to be able to use it too, and even admin users need to be able to use it without using sudo. For example, when entering a nix shell, you don't want the shell to run as root. Or when using direnv. Or just when using it as part of your build system. Nix is a package manager, yes, but it's more than that, it's a generalized build system. |
|