No, the environment created by nix develop
is not pure by default: it keeps the environment of the caller, and it sources the bashrc scripts. To get around this, add something like --ignore-environment --command bash --norc
.
6 Likes