I'm attempting to enable jemalloc with ruby, which appears to work fine, but it isn't available to gems. I thought that maybe since it was in ruby's propagatedBuildInputs, the gems would have it, but no.
I wrote a function to add it to each gem's buildInputs, but merging that with defaultGemConfig replaces the existing builtInputs, so perhaps a "deep merge" is needed instead:
I opened an issue at https://github.com/bobvanderlinden/nixpkgs-ruby/issues/118 for this as well, but wasn't sure if the bundix repo was a better place to ask.
I'm attempting to enable jemalloc with ruby, which appears to work fine, but it isn't available to gems. I thought that maybe since it was in ruby's
propagatedBuildInputs
, the gems would have it, but no.I wrote a function to add it to each gem's buildInputs, but merging that with
defaultGemConfig
replaces the existing builtInputs, so perhaps a "deep merge" is needed instead:But I'm probably thinking about this the wrong way. Surely there's some better/simpler way to use jemalloc with gems.