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

feat: add configuration to run link scripts #3347

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ruben-arts
Copy link
Contributor

@ruben-arts ruben-arts commented Mar 13, 2025

After setting the configuration to run the scripts, rattler will now run the scripts.

pixi config set --local run-post-link-scripts insecure

This only adds the workaround to run the scripts. This doesn't warn about existing scripts or depends on any changes in rattler to make this more informative.

@wolfv
Copy link
Member

wolfv commented Mar 13, 2025

If we want to warn, we could scan the $PREFIX for any post-link files after it is created. The files should be in $PREFIX/bin/ on Unix, and $PREFIX/Scripts/ on Windows adn look like .<name>-post-link.sh or .bat.

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

Successfully merging this pull request may close these issues.

2 participants