Skip to content

Update layout anaconda to accept a path to a yml file#962

Merged
zimbatm merged 1 commit intodirenv:masterfrom
Arrowbox:allow_path_to_yml
Jul 4, 2022
Merged

Update layout anaconda to accept a path to a yml file#962
zimbatm merged 1 commit intodirenv:masterfrom
Arrowbox:allow_path_to_yml

Conversation

@Arrowbox
Copy link
Copy Markdown
Contributor

Conda assumes the environment config is provided by
environment.yml when the --file argument is not
provided. This allows for specifying a path to
a different file. For example, a project that has
a two environment definitions based on host platform.

Some of the projects I work with don't use environment.yml
in the root directory. I've been using this in my direnvrc to
handle it.

Conda assumes the environment config is provided by
environment.yml when the --file argument is not
provided. This allows for specifying a path to
a different file. For example, a project that has
a two environment definitions based on host platform.
@zimbatm
Copy link
Copy Markdown
Member

zimbatm commented Jul 4, 2022

The amount of code for that function is getting ridiculous, but fine

@zimbatm zimbatm merged commit c45e866 into direnv:master Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants