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

Preinstall common libraries for popular environments #1854

Open
Tracked by #1858
gcurtis opened this issue Feb 27, 2024 · 0 comments
Open
Tracked by #1858

Preinstall common libraries for popular environments #1854

gcurtis opened this issue Feb 27, 2024 · 0 comments
Labels
feature New feature or request linker Related to linking (ld, ld.so or dyld) python Support for Python, pip, Poetry, etc. ruby Support for Ruby, gems, Bundler, etc.

Comments

@gcurtis
Copy link
Collaborator

gcurtis commented Feb 27, 2024

Make the Python and Ruby plugins automatically install common shared libraries and/or add dev to the default outputs for select packages.

A bunch of issues pop up when installing gems or pip packages because common libraries are unavailable. For example, in devbox#1752 the user tried to install the mysql gem and it failed because libcrypto, libssl, and libzstd couldn’t be found. This happens more frequently in Nix because Nix wants packages to be explicit about their dependencies. Other operating systems tend to have OpenSSL preinstalled, and because all libraries go into /usr/lib, the compiler automatically finds them.

At the cost of some bloat and slightly longer install times, we could update the ruby and python plugins to automatically add packages for common libraries (TDB what those should be).

Related issues

@gcurtis gcurtis added feature New feature or request python Support for Python, pip, Poetry, etc. ruby Support for Ruby, gems, Bundler, etc. linker/compiletime linker Related to linking (ld, ld.so or dyld) labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request linker Related to linking (ld, ld.so or dyld) python Support for Python, pip, Poetry, etc. ruby Support for Ruby, gems, Bundler, etc.
Development

No branches or pull requests

1 participant