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

Allow custom installation location #1009

Open
shpoont opened this issue May 12, 2024 · 1 comment
Open

Allow custom installation location #1009

shpoont opened this issue May 12, 2024 · 1 comment

Comments

@shpoont
Copy link

shpoont commented May 12, 2024

Since pkgx install is simply checking if the user has permissions to write to /usr/local it has a very confusing behavior. When there are more than one users in the system it will have conflicting results because some packages can be already installed by another user to the same folder.

It would be useful to have a simple PKGX_INSTALLATION_DIR showing it where to install/uninstall packages.

@felipecrs
Copy link
Contributor

felipecrs commented May 13, 2024

I would say even pip, npm, cargo and whatnot should also be patched to respect this environment variable (when installed by pkgx).

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