From 345a318c5a533eac2d6cddddb40623429c2f286d Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Tue, 21 Oct 2025 16:39:49 -0300 Subject: [PATCH] libnghttp2_asio: fix build with cmake4 --- pkgs/by-name/li/libnghttp2_asio/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/li/libnghttp2_asio/package.nix b/pkgs/by-name/li/libnghttp2_asio/package.nix index 4fe8889e16b2..490566fde01f 100644 --- a/pkgs/by-name/li/libnghttp2_asio/package.nix +++ b/pkgs/by-name/li/libnghttp2_asio/package.nix @@ -35,6 +35,11 @@ stdenv.mkDerivation { openssl ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = with lib; { description = "High level HTTP/2 C++ library"; longDescription = ''