Allow no-kernel-module build of SysDig

This commit is contained in:
Michael Raskin 2014-05-13 00:08:45 +04:00
parent 89238a251c
commit f8a62ff002

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation {
cmakeFlags = [
"-DUSE_BUNDLED_LUAJIT=OFF"
"-DUSE_BUNDLED_ZLIB=OFF"
];
] ++ optional (kernel == null) "-DBUILD_DRIVER=OFF";
preConfigure = ''
export INSTALL_MOD_PATH="$out"
'' + optionalString (kernel != null) ''