I’d do a more careful analysis of PATH as well, there are several ways your python could be shadowed. Just as an example, you could have switched home-manager (as a nixos module) to use home-manager.useUserPackages = true;
, and not removed the now-defunct home-manager-path
from your nix-env profile, which would take precedence over the new location in /etc/profiles/per-user
.
3 Likes