mkShell vs. buildEnv?

Side-note: This motivated https://discourse.nixos.org/t/description-of-the-attribute-inputdrvs-in-the-nix-manual/60190.