From d83fafd0241905bdd467ee5b7b79a088d59d4966 Mon Sep 17 00:00:00 2001 From: emilylange Date: Sat, 26 Oct 2024 22:27:26 +0200 Subject: [PATCH] linuxPackages.corefreq: unbreak eval --- pkgs/os-specific/linux/corefreq/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/corefreq/default.nix b/pkgs/os-specific/linux/corefreq/default.nix index 66102f27cbc4..59da0e077069 100644 --- a/pkgs/os-specific/linux/corefreq/default.nix +++ b/pkgs/os-specific/linux/corefreq/default.nix @@ -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)"