From 292f23c4b5d28fb8ea5a06a49d7c7596496d44c7 Mon Sep 17 00:00:00 2001 From: Joerg Thalheim Date: Sat, 4 Nov 2017 08:54:28 +0000 Subject: [PATCH] bcc: fix module installation BCC_KERNEL_MODULES_DIR should have not been removed --- pkgs/os-specific/linux/bcc/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/bcc/default.nix b/pkgs/os-specific/linux/bcc/default.nix index 768c8cedd357..6cf14b66a351 100644 --- a/pkgs/os-specific/linux/bcc/default.nix +++ b/pkgs/os-specific/linux/bcc/default.nix @@ -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