rtl8821ce: pass makeFlags from kernel, move moduleBuildDependencies to nativeBuildInputs

This commit is contained in:
Nick Cao 2022-02-10 10:56:52 +08:00
parent 3f6359ac26
commit e61b83cb60
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "pic" ];
nativeBuildInputs = [ bc ];
buildInputs = kernel.moduleBuildDependencies;
nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies;
makeFlags = kernel.makeFlags;
prePatch = ''
substituteInPlace ./Makefile \