kernelshark: fix build with cmake4 (#450681)

This commit is contained in:
Leona Maroni
2025-10-10 14:14:25 +00:00
committed by GitHub
@@ -15,6 +15,7 @@
freefont_ttf,
wrapQtAppsHook,
qtwayland,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -26,6 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-OT6ClyZRE+pxWwm+sfzvN3CnoCIyxcAiVsi1fdzaT4M=";
};
patches = [
# kernelshark: Allow building with CMake 4+
(fetchpatch {
url = "https://lore.kernel.org/linux-trace-devel/20251010131715.1123934-1-michal.sojka@cvut.cz/raw";
hash = "sha256-hT+EhauFlQGjhXyq7Z9FwjS3C+0Jlz6n5BDKCXwzBCc=";
})
];
outputs = [ "out" ];
nativeBuildInputs = [