From 2676cf9525c38ac8c6cb85a7d95f2e57e2760c3d Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sat, 13 Aug 2016 11:19:15 +0000 Subject: [PATCH] linuxPackages.lttng-modules: fix build --- pkgs/os-specific/linux/lttng-modules/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/lttng-modules/default.nix b/pkgs/os-specific/linux/lttng-modules/default.nix index b3a67e70a1df..eeef64c70833 100644 --- a/pkgs/os-specific/linux/lttng-modules/default.nix +++ b/pkgs/os-specific/linux/lttng-modules/default.nix @@ -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"