Skip to content

Commit

Permalink
linuxPackages.bcc: patch trace buffer bug in python library
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <[email protected]>
  • Loading branch information
thoughtpolice committed Aug 31, 2020
1 parent 6fb7b16 commit 58bb6bf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/os-specific/linux/bcc/default.nix
Original file line number Diff line number Diff line change
@@ -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
}:
Expand All @@ -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 ];
Expand Down

0 comments on commit 58bb6bf

Please sign in to comment.