From bd3ea645591cd61e8140067b459e974f756b528a Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Thu, 5 Dec 2024 11:03:46 +0100 Subject: [PATCH] cpupower: add `which` to nativeBuildInputs linux >= 6.13 requires this. --- pkgs/os-specific/linux/cpupower/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/cpupower/default.nix b/pkgs/os-specific/linux/cpupower/default.nix index f714ce54dd58..f811455f8a62 100644 --- a/pkgs/os-specific/linux/cpupower/default.nix +++ b/pkgs/os-specific/linux/cpupower/default.nix @@ -1,10 +1,10 @@ -{ lib, stdenv, buildPackages, kernel, pciutils, gettext }: +{ lib, stdenv, buildPackages, kernel, pciutils, gettext, which }: stdenv.mkDerivation { pname = "cpupower"; inherit (kernel) version src patches; - nativeBuildInputs = [ gettext ]; + nativeBuildInputs = [ gettext which ]; buildInputs = [ pciutils ]; postPatch = ''