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

This commit is contained in:
Martin Weinelt 2023-05-21 15:40:53 +02:00 committed by GitHub
parent fef3d83a2b
commit 8229ab2435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -516,7 +516,7 @@ in
openssl = attrs: {
# https://github.com/ruby/openssl/issues/369
buildInputs = [ openssl_1_1 ];
buildInputs = [ (if (lib.versionAtLeast attrs.version "3.0.0") then openssl else openssl_1_1) ];
};
opus-ruby = attrs: {