Profiles currently support `package.bashrc`. This requires that `profile-formats = profile-bashrcs` be set in the layout.conf. It would be nice to also have support for `package.env` in profiles. `package.env` gets evaluated a lot earlier, and it also is less powerful than `bashrc`. Motivation: I want to bake the crossdev config into a profile. Having `package.env` support would make this a bit easier. See https://chromium-review.googlesource.com/c/chromiumos/overlays/toolchains/+/4591509/2 Reproducible: Always
I don't think I have any objection to this as a Portage extension (like profile-bashrcs), but I'd appreciate someone implementing it.
*** This bug has been marked as a duplicate of bug 638196 ***