rubyPackages.openssl: build against OpenSSL 3 if supported (#232906)

authored by Martin Weinelt and committed by GitHub 8229ab24 fef3d83a

+1 -1
+1 -1
pkgs/development/ruby-modules/gem-config/default.nix
··· 516 516 517 517 openssl = attrs: { 518 518 # https://github.com/ruby/openssl/issues/369 519 - buildInputs = [ openssl_1_1 ]; 519 + buildInputs = [ (if (lib.versionAtLeast attrs.version "3.0.0") then openssl else openssl_1_1) ]; 520 520 }; 521 521 522 522 opus-ruby = attrs: {