bcc: fix module installation
BCC_KERNEL_MODULES_DIR should have not been removed
This commit is contained in:
@@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper cmake flex bison ];
|
nativeBuildInputs = [ makeWrapper cmake flex bison ];
|
||||||
|
|
||||||
|
cmakeFlags="-DBCC_KERNEL_MODULES_DIR=${kernel.dev}/lib/modules";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/bin $out/share
|
mkdir -p $out/bin $out/share
|
||||||
rm -r $out/share/bcc/tools/old
|
rm -r $out/share/bcc/tools/old
|
||||||
|
|||||||
Reference in New Issue
Block a user