Skip to content

Preinstall common libraries for popular environments #1854

Open
@gcurtis

Description

@gcurtis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestlinkerRelated to linking (ld, ld.so or dyld)pythonSupport for Python, pip, Poetry, etc.rubySupport for Ruby, gems, Bundler, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions