mariadb: also use openssl_3 for 10.7 and 10.6

follow-up to 84f17a3082
This commit is contained in:
ajs124 2022-09-19 21:59:46 +02:00
parent 1b8755548c
commit 89ce25efe9

View File

@ -46,7 +46,7 @@ commonOptions = packageSettings: rec { # attributes common to both builds
++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices cctools perl libedit ]
++ lib.optional (!stdenv.hostPlatform.isDarwin) [ jemalloc ]
++ (if (lib.versionOlder version "10.5") then [ pcre ] else [ pcre2 ])
++ (if (lib.versionOlder version "10.8")
++ (if (lib.versionOlder version "10.6")
then [ openssl_1_1 (curl.override { openssl = openssl_1_1; }) ]
else [ openssl curl ]);