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

[feature] Respect PREFIX enviroment var? #50

Open
Freed-Wu opened this issue Apr 9, 2024 · 1 comment
Open

[feature] Respect PREFIX enviroment var? #50

Freed-Wu opened this issue Apr 9, 2024 · 1 comment

Comments

@Freed-Wu
Copy link

Freed-Wu commented Apr 9, 2024

For example, when PREFIX is set, it will use $PREFIX. if not, it will use /usr as a fallback?

@agnostic-apollo
Copy link
Member

Support can be added in future to expand environment variables in config keys like installation_prefix or other director path keys. There are currently hard coded paths too for /data/data/com.termux/files/usr that should be replaced with a placeholder that's replaced during build time for the termux package, and it should preferably be got through the TERMUX__PREFIX env variable first if set, scoped variable design is being finalized for termux app v0.119.0 ($PREFIX will be deprecated).

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