diff --git a/pkgs/by-name/bc/bcc/package.nix b/pkgs/by-name/bc/bcc/package.nix index 50d812cd1d71..3d2235a0a0b3 100644 --- a/pkgs/by-name/bc/bcc/package.nix +++ b/pkgs/by-name/bc/bcc/package.nix @@ -13,12 +13,12 @@ , makeWrapper , netperf , nixosTests -, python3 +, python3Packages , stdenv , zip }: -python3.pkgs.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "bcc"; version = "0.31.0"; @@ -44,14 +44,14 @@ python3.pkgs.buildPythonApplication rec { ./fix-deadlock-detector-import.patch ]; - propagatedBuildInputs = [ python3.pkgs.netaddr ]; + propagatedBuildInputs = [ python3Packages.netaddr ]; nativeBuildInputs = [ bison cmake flex llvmPackages.llvm.dev makeWrapper - python3.pkgs.setuptools + python3Packages.setuptools zip ]; @@ -82,7 +82,7 @@ python3.pkgs.buildPythonApplication rec { preInstall = '' # required for setuptool during install - export PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH + export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH ''; postInstall = '' mkdir -p $out/bin $out/share diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9d0c8f1966ac..41675b44e28a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1485,6 +1485,8 @@ self: super: with self; { bbox = callPackage ../development/python-modules/bbox { }; + bcc = toPythonModule (pkgs.bcc.override { python3Packages = self; }); + bc-detect-secrets = callPackage ../development/python-modules/bc-detect-secrets { }; bc-jsonpath-ng = callPackage ../development/python-modules/bc-jsonpath-ng { };