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

linuxPackages_latest.perf: fix python shebangs on 6.3+
This commit is contained in:
Sergei Trofimovich 2023-04-25 12:55:12 +01:00 committed by GitHub
commit 167731fc9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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