rubyPackages.openssl: drop openssl_1_1 support

This commit is contained in:
Gutyina Gergő
2026-05-27 12:49:01 +02:00
parent 4100e830e0
commit c3118ee9d5
@@ -52,7 +52,6 @@
cmake,
libssh2,
openssl,
openssl_1_1,
libmysqlclient,
git,
perl,
@@ -810,10 +809,15 @@ in
}
);
openssl = attrs: {
openssl =
attrs:
# https://github.com/ruby/openssl/issues/369
buildInputs = [ (if (lib.versionAtLeast attrs.version "3.0.0") then openssl else openssl_1_1) ];
};
assert
lib.versionAtLeast attrs.version "3.0.0"
|| throw "OpenSSL 1.1 is EOL and the corresponding Ruby gem was removed.";
{
buildInputs = [ openssl ];
};
opus-ruby = attrs: {
dontBuild = false;