openrazer: prepend kernel.makeFlags to makeFlags

This commit is contained in:
Nick Cao 2022-02-10 10:30:53 +08:00
parent 45e662bd95
commit 03d4ac4e5b
No known key found for this signature in database
GPG Key ID: 068A56CEF48FA2C1

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation (common // {
nativeBuildInputs = kernel.moduleBuildDependencies;
buildFlags = [
makeFlags = kernel.makeFlags ++ [
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];