From ac026be7998807a9db331b27e1423208fe9afc24 Mon Sep 17 00:00:00 2001 From: meck Date: Wed, 8 Oct 2025 12:35:14 +0200 Subject: [PATCH] interception-tools: Fix build with CMake 4 --- pkgs/tools/inputmethods/interception-tools/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/tools/inputmethods/interception-tools/default.nix b/pkgs/tools/inputmethods/interception-tools/default.nix index 84ed9eb6a8b0..6c5ee3a9ce93 100644 --- a/pkgs/tools/inputmethods/interception-tools/default.nix +++ b/pkgs/tools/inputmethods/interception-tools/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitLab, + fetchpatch, pkg-config, cmake, yaml-cpp, @@ -20,6 +21,14 @@ stdenv.mkDerivation rec { hash = "sha256-jhdgfCWbkF+jD/iXsJ+fYKOtPymxcC46Q4w0aqpvcek="; }; + patches = [ + (fetchpatch { + name = "Bump-CMake-minimum-version-to-3.10"; + url = "https://gitlab.com/interception/linux/tools/-/commit/110c9b39b54eae9acd16fa6d64539ce9886b5684.patch"; + hash = "sha256-vLm7LvXh/pGA12gUpt9vt2XTWFqkdjQFOyRzaDRghHI="; + }) + ]; + nativeBuildInputs = [ cmake pkg-config