Commit c21ebbd7 authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

kernelshark: fix build with cmake4 (#450681)

parents 834c8d0c 5ed8b2d0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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 = [