bcc: fix module installation
BCC_KERNEL_MODULES_DIR should have not been removed
This commit is contained in:
parent
4bd9b3b7cf
commit
292f23c4b5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user