From 01b765d5e2683901f66a1a8252493b7512166c18 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 6 Apr 2023 02:39:57 +0530 Subject: [PATCH] remove cpupower --- packages/scripts/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/scripts/default.nix b/packages/scripts/default.nix index 0706f3c..8766c21 100644 --- a/packages/scripts/default.nix +++ b/packages/scripts/default.nix @@ -1,10 +1,11 @@ -{ lib, stdenvNoCC, makeWrapper, libnotify, rofi-wayland, power-profiles-daemon, cpupower }: +{ lib, stdenvNoCC, makeWrapper, libnotify, rofi-wayland, power-profiles-daemon }: + stdenvNoCC.mkDerivation { pname = "scripts"; src = ./.; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ libnotify rofi-wayland power-profiles-daemon cpupower ]; + buildInputs = [ libnotify rofi-wayland power-profiles-daemon ]; installPhase = '' mkdir -p $out/bin @@ -14,6 +15,6 @@ stdenvNoCC.mkDerivation { cp power-profiles.sh $out/bin/power-profiles chmod +x $out/bin/power-profiles - wrapProgram $out/bin/power-profiles --prefix PATH : ${lib.makeBinPath [ libnotify power-profiles-daemon cpupower ]} + wrapProgram $out/bin/power-profiles --prefix PATH : ${lib.makeBinPath [ libnotify power-profiles-daemon ]} ''; }