nix-env
for installation and uninstallation of a package doesn’t change the current user environment, but creates a new one.
nix-build
builds a derivation, which can also install a package. Does it change the current user environment? Does it create a new user environment?
Thanks.