pixi
pixi copied to clipboard
Setting variables per environment
Looks like the equivalent of the "variables" table in the conda environment yaml is the "activation" table. It looks like this table is applied to all environments, but in multi-environment configs, e.g. when using different dependencies in different environments, or when the environments are substantially different from one another, you may need to set the environment variables differently to match. What's the "proper" way to do this? I think this is different from the per-task and per-target settings.
Oh. There's an activation table per feature: https://pixi.sh/latest/reference/pixi_manifest/#the-feature-table.
But maybe that section needs to be updated to make it clearer all of the places the activation table can be defined.
Hi @jamesmyatt , I noticed the issue was closed, but since it was mentioned that the documentation could be clearer about where the activation table can be defined, would it be helpful if I submitted a small PR improving that section? If yes, could you please assign this issue to me? Happy to help!
Thank you. It's still open. But I can't assign it since I'm not a maintainer.
Thank you. It's still open. But I can't assign it since I'm not a maintainer.
Thanks for letting me know!
Hi @nichmor and @baszalmstra , Could you please assign this issue to me? Thanks in advance!