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

Implement shell-hook #410

Closed
wolfv opened this issue Oct 25, 2023 · 1 comment · Fixed by #672
Closed

Implement shell-hook #410

wolfv opened this issue Oct 25, 2023 · 1 comment · Fixed by #672
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@wolfv
Copy link
Member

wolfv commented Oct 25, 2023

Problem description

There are a few use-cases where having a traditional "activation script" could be useful. It could be a nice addition to have a (hidden?) shell-hook command that prints the activation script to stdout.

A potential pixi-docker project could use this to source the environment even without pixi being present (this script could be written as a step in the docker build and sourced by the docker entrypoint).

cc @vsoch

@wolfv wolfv added the enhancement New feature or request label Oct 25, 2023
@wolfv wolfv assigned wolfv and unassigned wolfv Oct 25, 2023
@wolfv wolfv added the good first issue Good for newcomers label Oct 25, 2023
@pditommaso
Copy link

This would be definitively very useful. We are currently using micromamba-docker to assemble container images from Conda packages via Wave.

We would love to use Pixi in place of Mamba once this capability is going to be available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants