From 7448d1f06070caf5bc60458e8f414c78082cfc13 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Sun, 31 Dec 2017 07:12:54 +0000 Subject: [PATCH] rtl8812au: fix build with Linux >= 4.14.9 --- pkgs/os-specific/linux/rtl8812au/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/rtl8812au/default.nix b/pkgs/os-specific/linux/rtl8812au/default.nix index 4ea6b35e377e..c79de39d5dac 100644 --- a/pkgs/os-specific/linux/rtl8812au/default.nix +++ b/pkgs/os-specific/linux/rtl8812au/default.nix @@ -29,6 +29,8 @@ stdenv.mkDerivation rec { }) ]; + buildInputs = kernel.moduleBuildDependencies; + hardeningDisable = [ "pic" ]; NIX_CFLAGS_COMPILE="-Wno-error=incompatible-pointer-types";