Unverified Commit 167731fc authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by GitHub
Browse files

Merge pull request #228090 from trofi/perf-fix-for-6.3

linuxPackages_latest.perf: fix python shebangs on 6.3+
parents 94517a50 e205b43f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -64,6 +64,10 @@ stdenv.mkDerivation {
    # Linux scripts
    patchShebangs scripts

  '' + lib.optionalString (lib.versionAtLeast kernel.version "6.3") ''
    # perf-specific scripts
    patchShebangs tools/perf/pmu-events
  '' + ''
    cd tools/perf

    for x in util/build-id.c util/dso.c; do