Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have "--import" also read the "variables" section of an environment.yml file #2007

Open
jacobwilliams opened this issue Sep 8, 2024 · 1 comment
Labels
conda Issue related to Conda dependencies ✨ enhancement Feature request 👋 good first issue Good for newcomers

Comments

@jacobwilliams
Copy link

Problem description

conda environment files can have a section that specifies environment vars that get set when the env is activated. Example:

variables:
  QT_API: pyside2

It would be nice if the pixi init --import command would also read these and add them to the pixi.toml. I think it would just be something like this:

[activation]
env = { QT_API="pyside2" }
@jacobwilliams jacobwilliams added the ✨ enhancement Feature request label Sep 8, 2024
@ruben-arts
Copy link
Contributor

Good idea! PR's are welcome!

@ruben-arts ruben-arts added 👋 good first issue Good for newcomers conda Issue related to Conda dependencies labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conda Issue related to Conda dependencies ✨ enhancement Feature request 👋 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants