10 version = "${kernel.version}-unstable-2024-05-26";
12 src = fetchFromGitHub {
15 rev = "810573647b837d88c4191597a0ea6d226f69f64c";
16 hash = "sha256-AaOnUy3igocsCF/FNogn+z+QcQiid7U7XimE68wAco0=";
19 nativeBuildInputs = kernel.moduleBuildDependencies;
20 makeFlags = kernel.makeFlags;
22 hardeningDisable = [ "pic" ];
24 env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
27 substituteInPlace ./Makefile \
28 --replace /lib/modules/ "${kernel.dev}/lib/modules/" \
29 --replace /sbin/depmod \# \
30 --replace '$(MODDESTDIR)' "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
34 mkdir -p "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
37 enableParallelBuilding = true;
40 description = "Realtek 8814AU USB WiFi driver";
41 homepage = "https://github.com/morrownr/8814au";
42 license = licenses.gpl2Only;
43 maintainers = [ maintainers.lassulus ];