linuxPackages.corefreq: unbreak eval

This commit is contained in:
emilylange 2024-10-26 22:27:26 +02:00
parent a76cb04067
commit d83fafd024
No known key found for this signature in database
GPG Key ID: 0AD773CE46FD0F87

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)"