diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-01-30 14:06:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 14:06:27 +0000 |
commit | 5b74cd218690155411bd6298b65fd7728eb7bf03 (patch) | |
tree | 940e12120992c7bbf6da5171ee611fe691646155 /pkgs/os-specific | |
parent | ae1b98b96e1c3b9cad7a1a9f938b6566f7fb1fea (diff) | |
parent | 0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064 (diff) | |
download | nixlib-5b74cd218690155411bd6298b65fd7728eb7bf03.tar nixlib-5b74cd218690155411bd6298b65fd7728eb7bf03.tar.gz nixlib-5b74cd218690155411bd6298b65fd7728eb7bf03.tar.bz2 nixlib-5b74cd218690155411bd6298b65fd7728eb7bf03.tar.lz nixlib-5b74cd218690155411bd6298b65fd7728eb7bf03.tar.xz nixlib-5b74cd218690155411bd6298b65fd7728eb7bf03.tar.zst nixlib-5b74cd218690155411bd6298b65fd7728eb7bf03.zip |
perf: fix build on 5.5 (#78847)
perf: fix build on 5.5
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/perf.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index 9f32e3e37ddb..07dd8c78f426 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation { # perf refers both to newt and slang nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt - flex bison libiberty audit makeWrapper pkgconfig + flex bison libiberty audit makeWrapper pkgconfig python3 ]; buildInputs = [ elfutils newt slang libunwind libbfd zlib openssl systemtap.stapBuild numactl @@ -54,6 +54,10 @@ stdenv.mkDerivation { "-Wno-error=stringop-truncation" ]; + postPatch = '' + patchShebangs scripts/bpf_helpers_doc.py + ''; + doCheck = false; # requires "sparse" doInstallCheck = false; # same |