Unverified Commit 8f34b7c2 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

unit: fix build with OpenSSL 3.6 (#459395)

parents 62353410 1941f156
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;