bcc: fix module installation
BCC_KERNEL_MODULES_DIR should have not been removed
This commit is contained in:
parent
4bd9b3b7cf
commit
292f23c4b5
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue