bcc: fix module installation

BCC_KERNEL_MODULES_DIR should have not been removed
This commit is contained in:
Joerg Thalheim 2017-11-04 08:54:28 +00:00
parent 4bd9b3b7cf
commit 292f23c4b5

View file

@ -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