forked from mirrors/nixpkgs
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;
|
||||
|
||||
buildFlags = [
|
||||
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.version}/build"
|
||||
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue