From 6885524b6a57a80bed0a706805e2a4895af79388 Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Tue, 21 Oct 2025 19:34:23 -0300 Subject: [PATCH] libuinputplus: fix build with cmake4 --- pkgs/by-name/li/libuinputplus/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/li/libuinputplus/package.nix b/pkgs/by-name/li/libuinputplus/package.nix index 0371a66131d0..1541a52b32a7 100644 --- a/pkgs/by-name/li/libuinputplus/package.nix +++ b/pkgs/by-name/li/libuinputplus/package.nix @@ -25,6 +25,11 @@ stdenv.mkDerivation rec { pkg-config ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = with lib; { inherit (src.meta) homepage; description = "Easy-to-use uinput library in C++";