Commit 1941f156 authored by Robert Schütz's avatar Robert Schütz
Browse files

unit: fix build with OpenSSL 3.6

parent 789031a2
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;