From abdd388fa8986f09706824882c967d7aa94b9038 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Thu, 13 Jul 2023 22:39:54 +0200 Subject: rustls-ffi: 0.9.2 -> 0.10.0 Changelog: https://github.com/rustls/rustls-ffi/releases/tag/v0.10.0 --- pkgs/servers/http/apache-httpd/2.4.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkgs/servers/http') diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix index eed98b2680b7f..98a00afc519d4 100644 --- a/pkgs/servers/http/apache-httpd/2.4.nix +++ b/pkgs/servers/http/apache-httpd/2.4.nix @@ -1,4 +1,5 @@ { lib, stdenv, fetchurl, perl, zlib, apr, aprutil, pcre2, libiconv, lynx, which, libxcrypt +, fetchpatch , nixosTests , proxySupport ? true , sslSupport ? true, openssl @@ -35,6 +36,14 @@ stdenv.mkDerivation rec { lib.optional http2Support nghttp2 ++ lib.optional stdenv.isDarwin libiconv; + patches = lib.optionals modTlsSupport [ + (fetchpatch { + name = "compat-with-rustls-ffi-0.10.0.patch"; + url = "https://github.com/apache/httpd/commit/918620a183d843fb393ed939423a25d42c1044ec.patch"; + hash = "sha256-YZi3t++hjM0skisax2xuh9DifZVZjCjVn6XQr6QKGEs="; + }) + ]; + postPatch = '' sed -i config.layout -e "s|installbuilddir:.*|installbuilddir: $dev/share/build|" sed -i support/apachectl.in -e 's|@LYNX_PATH@|${lynx}/bin/lynx|' -- cgit 1.4.1