How to set activation.env programatically in pixi.toml? #4558
-
I am trying to write a setup script to automate the project setup. How do I achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I think this doesn't exist yet! |
Beta Was this translation helpful? Give feedback.
-
ok. Thanks. For now implemented it as: create a env.sh with your env vars. cat >> "$VAR_PROJECT_DIR/pixi.toml" << 'EOF'
[activation]
scripts = ["env.sh"]
EOF |
Beta Was this translation helpful? Give feedback.
ok. Thanks.
For now implemented it as:
create a env.sh with your env vars.
copy it to the project root.
Add the env.sh to activation