linuxPackages.corefreq: unbreak eval

This commit is contained in:
emilylange
2024-10-26 22:27:26 +02:00
parent a76cb04067
commit d83fafd024
+1 -2
View File
@@ -3,7 +3,6 @@
stdenv,
fetchFromGitHub,
kernel,
hostPlatform,
# See the official readme for a list of optional flags:
# https://github.com/cyring/CoreFreq/blob/master/README.md
extraFlags ? [ ],
@@ -22,7 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = kernel.moduleBuildDependencies;
env.NIX_CFLAGS_COMPILE = "-I${src}/${hostPlatform.qemuArch}";
env.NIX_CFLAGS_COMPILE = "-I${src}/${stdenv.hostPlatform.qemuArch}";
makeFlags = [
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"INSTALL_MOD_PATH=$(out)"