mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
linuxPackages.rtl8812au: fix build
This commit is contained in:
parent
2676cf9525
commit
8071cafe66
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE="-Wno-error=incompatible-pointer-types";
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace ./Makefile --replace /lib/modules/ "${kernel.dev}/lib/modules/"
|
||||
substituteInPlace ./Makefile --replace '$(shell uname -r)' "${kernel.modDirVersion}"
|
||||
|
Loading…
Reference in New Issue
Block a user