unit: fix build with OpenSSL 3.6

This commit is contained in:
Robert Schütz
2025-11-06 23:46:12 -08:00
parent 789031a2f2
commit 1941f1564e
+5
View File
@@ -75,6 +75,11 @@ stdenv.mkDerivation rec {
${optionalString withPerl "./configure perl --module=perl --perl=${perl}/bin/perl"}
'';
env.NIX_CFLAGS_COMPILE = toString [
# 'EVP_PKEY_asn1_find_str' is deprecated since OpenSSL 3.6
"-Wno-error=deprecated-declarations"
];
passthru.tests = {
unit-perl = nixosTests.unit-perl;
unit-php = nixosTests.unit-php;