mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
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:
commit
167731fc9e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue