for `nix-env -i` the later defined python27Packages seems to win. Another solution might be to have python26 oder python27 either in the name or the version. Let's have a look at haskelPackages for that.