remove cpupower
This commit is contained in:
parent
d978d53712
commit
01b765d5e2
1 changed files with 4 additions and 3 deletions
|
@ -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 {
|
stdenvNoCC.mkDerivation {
|
||||||
pname = "scripts";
|
pname = "scripts";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ libnotify rofi-wayland power-profiles-daemon cpupower ];
|
buildInputs = [ libnotify rofi-wayland power-profiles-daemon ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -14,6 +15,6 @@ stdenvNoCC.mkDerivation {
|
||||||
|
|
||||||
cp power-profiles.sh $out/bin/power-profiles
|
cp power-profiles.sh $out/bin/power-profiles
|
||||||
chmod +x $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 ]}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue