linuxPackages.lttng-modules: fix build

This commit is contained in:
Robin Gloster 2016-08-13 11:19:15 +00:00
parent bd4490e277
commit 2676cf9525

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "pic" ];
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
preConfigure = ''
export KERNELDIR="${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
export INSTALL_MOD_PATH="$out"