Unverified Commit ff7f75df authored by Aaron Jheng's avatar Aaron Jheng
Browse files

perf-linux: fix build on linux 5.4

parent b016e85f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ stdenv.mkDerivation {

  postPatch = ''
    patchShebangs scripts tools/perf/pmu-events/jevents.py

  '' + lib.optionalString (lib.versionAtLeast kernel.version "5.8") ''
    substituteInPlace tools/perf/scripts/python/flamegraph.py \
      --replace "/usr/share/d3-flame-graph/d3-flamegraph-base.html" \
      "${d3-flame-graph-templates}/share/d3-flame-graph/d3-flamegraph-base.html"