From 46ef0796b61f19ee6b75dff793119ec1fe819230 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 15 Sep 2024 21:14:52 +0300 Subject: [PATCH] linuxPackages_6_11.perf: fix build --- pkgs/os-specific/linux/kernel/perf/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/perf/default.nix b/pkgs/os-specific/linux/kernel/perf/default.nix index 4b3440ad4090a..e4c6ae3161460 100644 --- a/pkgs/os-specific/linux/kernel/perf/default.nix +++ b/pkgs/os-specific/linux/kernel/perf/default.nix @@ -63,7 +63,7 @@ stdenv.mkDerivation { # Fix 6.10.0 holding pkg-config completely wrong. # Patches from perf-tools-next, should be in 6.11 or hopefully backported. - patches = lib.optionals (lib.versionAtLeast kernel.version "6.10") [ + patches = lib.optionals (lib.versions.majorMinor kernel.version == "6.10") [ (fetchpatch { url = "https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/patch/?id=0f0e1f44569061e3dc590cd0b8cb74d8fd53706b"; hash = "sha256-9u/zhbsDgwOr4T4k9td/WJYRuSHIfbtfS+oNx8nbOlM=";