summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-01-30 12:05:57 +0000
committerJörg Thalheim <joerg@thalheim.io>2020-01-30 12:11:16 +0000
commit0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064 (patch)
tree182eefdc67996494f6c56008e1d025b77d0b3438 /pkgs
parent23593e42c8d2f3172816fd37213a4fa0e1dca8f0 (diff)
downloadnixpkgs-0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064.tar
nixpkgs-0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064.tar.gz
nixpkgs-0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064.tar.bz2
nixpkgs-0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064.tar.lz
nixpkgs-0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064.tar.xz
nixpkgs-0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064.tar.zst
nixpkgs-0fc20ed4fb0a2b9000fba3b69ae477c1e94cc064.zip
perf: fix build on 5.5
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/os-specific/linux/kernel/perf.nix6
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 9f32e3e37dd..07dd8c78f42 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