Unverified Commit 3a784932 authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

perf: fix cross build (#422949)

parents e1e1c7d3 62cc0aae
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@
  zstd,
  withLibcap ? true,
  libcap,
  buildPackages,
}:
let
  d3-flame-graph-templates = stdenv.mkDerivation rec {
@@ -60,6 +61,10 @@ stdenv.mkDerivation {
  pname = "perf-linux";
  inherit (kernel) version src;

  strictDeps = true;

  depsBuildBuild = [ buildPackages.stdenv.cc ];

  patches =
    lib.optionals (lib.versionAtLeast kernel.version "5.10" && lib.versionOlder kernel.version "6.13")
      [