1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

perf: fix build on 5.5

This commit is contained in:
Jörg Thalheim 2020-01-30 12:05:57 +00:00
parent 23593e42c8
commit 0fc20ed4fb
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

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