From caab23e84594ba7ff791194605f57d0a8c5fdf9c Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sat, 28 Dec 2024 23:30:53 +0100 Subject: [PATCH] kernelshark: fix build --- pkgs/os-specific/linux/trace-cmd/kernelshark.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/os-specific/linux/trace-cmd/kernelshark.nix b/pkgs/os-specific/linux/trace-cmd/kernelshark.nix index 9c1ba81d8d07f..f9e00616f0b18 100644 --- a/pkgs/os-specific/linux/trace-cmd/kernelshark.nix +++ b/pkgs/os-specific/linux/trace-cmd/kernelshark.nix @@ -17,6 +17,7 @@ freefont_ttf, wrapQtAppsHook, qtwayland, + fetchpatch, }: stdenv.mkDerivation (finalAttrs: { @@ -28,6 +29,13 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-KV8ahV2koX7OL1C42H5If14e7m54jv0DlZ1dNsVRUWE="; }; + patches = [ + (fetchpatch { + url = "https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/patch/?id=9e33324644fff49b7aa15d34f836e72af8b32c78"; + hash = "sha256-2XtEQ4WscLlUiEQYG2HiHuysMzVzlG05PVreLRVM8Lc="; + }) + ]; + outputs = [ "out" ]; nativeBuildInputs = [