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

activation script not set when using alt filename #127

Closed
majidaldo opened this issue Nov 3, 2021 · 1 comment
Closed

activation script not set when using alt filename #127

majidaldo opened this issue Nov 3, 2021 · 1 comment

Comments

@majidaldo
Copy link
Contributor

if you put this in say _.yml

channels:
- conda-forge
name: _
dependencies: ['curl']
environment:
  VAR: val

conda dev env --file _.yml doesn't put the activation script; the env var is not set. Furthermore, conda complains about the environment section.

@prusse-martin
Copy link
Member

2 things here:

  1. conda dev env --file _.yml has an extra space, it should be conda devenv --file _.yml (I guess that was just a typo when creating this issue);
  2. When the file has not the extension .devenv.yml conda-devenv no not process the file at all and just forwards it to conda. This is actually a recurrent problem (Don't require .devenv.yml extension with --file option (or document better). #90), probably we will just be better to just lift that especial case and hope for the best;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants