Description
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).