Nix flake: the development enviornment created by running "nix develop" contains "usr/bin" in $PATH

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