Skip to content

Commit

Permalink
bcc: fix module installation
Browse files Browse the repository at this point in the history
BCC_KERNEL_MODULES_DIR should have not been removed
  • Loading branch information
Mic92 committed Nov 4, 2017
1 parent 4bd9b3b commit 292f23c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/os-specific/linux/bcc/default.nix
Expand Up @@ -19,6 +19,8 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ makeWrapper cmake flex bison ];

cmakeFlags="-DBCC_KERNEL_MODULES_DIR=${kernel.dev}/lib/modules";

postInstall = ''
mkdir -p $out/bin $out/share
rm -r $out/share/bcc/tools/old
Expand Down

0 comments on commit 292f23c

Please sign in to comment.