linuxPackages_latest.rr-zen_workaround: fix build

Upstream has already merged a this fix, but there's no release yet.

Changed files
+9
pkgs
development
tools
analysis
+9
pkgs/development/tools/analysis/rr/zen_workaround.nix
···
{
stdenv,
lib,
+
fetchpatch,
kernel,
rr,
}:
···
inherit (rr) src version;
sourceRoot = "${rr.src.name}/third-party/zen-pmu-workaround";
+
patches = [
+
(fetchpatch {
+
name = "kernel-6.16.patch";
+
url = "https://github.com/rr-debugger/rr/commit/86aa1ebe03c6a7f60eb65249233f866fd3da8316.diff";
+
stripLen = 2;
+
hash = "sha256-zj5MNwlZmWnagu0tE5Jl5a48wEF0lqNTh4KcbhmOkOo=";
+
})
+
];
hardeningDisable = [ "pic" ];
nativeBuildInputs = kernel.moduleBuildDependencies;