mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
perf-linux: fix build on linux 5.4
This commit is contained in:
parent
b016e85f39
commit
ff7f75dfcc
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user