linuxPackages.acpi_call: use kernel makeFlags
This allows the module to build for clang-built kernels
This commit is contained in:
parent
41716bad68
commit
55a3df2847
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
makeFlags = [
|
||||
makeFlags = kernel.makeFlags ++ [
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue