Merge pull request #247566 from trofi/perf-hermetic-shebang

linuxPackages_testing.perf: fix patchShebang
This commit is contained in:
Artturi 2023-08-13 06:46:19 +03:00 committed by GitHub
commit 86ebbdd9c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ stdenv.mkDerivation {
postPatch = ''
# Linux scripts
patchShebangs scripts
patchShebangs tools/perf/check-headers.sh
'' + lib.optionalString (lib.versionAtLeast kernel.version "6.3") ''
# perf-specific scripts
patchShebangs tools/perf/pmu-events