linuxPackages.bcc: patch trace buffer bug in python library

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2020-08-31 17:46:14 -05:00
parent 6fb7b16046
commit 58bb6bf73a
No known key found for this signature in database
GPG key ID: 25D2038DEB08021D

View file

@ -1,4 +1,5 @@
{ stdenv, fetchurl, makeWrapper, cmake, llvmPackages, kernel
{ stdenv, fetchurl, fetchpatch
, makeWrapper, cmake, llvmPackages, kernel
, flex, bison, elfutils, python, luajit, netperf, iperf, libelf
, systemtap, bash
}:
@ -23,6 +24,12 @@ python.pkgs.buildPythonApplication rec {
# This is needed until we fix
# https://github.com/NixOS/nixpkgs/issues/40427
./fix-deadlock-detector-import.patch
# This is already upstream; remove it on the next release
(fetchpatch {
url = "https://github.com/iovisor/bcc/commit/60de17161fe7f44b534a8da343edbad2427220e3.patch";
sha256 = "0pd5b4vgpdxbsrjwrw2kmn4l9hpj0rwdm3hvwvk7dsr3raz7w4b3";
})
];
propagatedBuildInputs = [ python.pkgs.netaddr ];