diff --git a/pkgs/by-name/bc/bcc/package.nix b/pkgs/by-name/bc/bcc/package.nix index 8f1b3f9d310d..8d720a8dadb5 100644 --- a/pkgs/by-name/bc/bcc/package.nix +++ b/pkgs/by-name/bc/bcc/package.nix @@ -5,6 +5,7 @@ cmake, elfutils, fetchFromGitHub, + fetchpatch, flex, iperf, lib, @@ -43,6 +44,12 @@ python3Packages.buildPythonApplication rec { (replaceVars ./absolute-ausyscall.patch { ausyscall = lib.getExe' audit "ausyscall"; }) + + (fetchpatch { + # https://github.com/iovisor/bcc/issues/5501 + url = "https://github.com/iovisor/bcc/commit/c3f35ecca18b1ce926bd272f60f6d4465656a80b.patch"; + hash = "sha256-Fr5SqDUpQzZj8yPST0V1QExNMCSoRbOXG5ZaChDXTZQ="; + }) ]; build-system = [ python3Packages.setuptools ];