openrazer: Fix build with Linux 5.4
This commit is contained in:
parent
6127bf9837
commit
e5b32b9719
|
@ -14,7 +14,7 @@ stdenv.mkDerivation (common // {
|
||||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
buildFlags = [
|
buildFlags = [
|
||||||
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.version}/build"
|
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue