tlp: add pciutils and smartmontools dependencies
When running `tlp stat`, `tlp` complained about missing tools. This patch should fix that.
This commit is contained in:
committed by
Nikolay Amiantov
parent
3cd1e728e4
commit
444abd91dd
@@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper, perl, systemd, iw, rfkill, hdparm, ethtool, inetutils, kmod
|
{ stdenv, fetchFromGitHub, makeWrapper, perl, systemd, iw, rfkill, hdparm, ethtool, inetutils, kmod
|
||||||
|
, pciutils, smartmontools
|
||||||
, enableRDW ? true, networkmanager }:
|
, enableRDW ? true, networkmanager }:
|
||||||
|
|
||||||
let version = "0.8";
|
let version = "0.8";
|
||||||
@@ -28,7 +29,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
paths = with stdenv.lib;
|
paths = with stdenv.lib;
|
||||||
concatMapStringsSep ":" (x: "${x}/bin")
|
concatMapStringsSep ":" (x: "${x}/bin")
|
||||||
([ iw rfkill hdparm ethtool inetutils systemd kmod ]
|
([ iw rfkill hdparm ethtool inetutils systemd kmod pciutils smartmontools ]
|
||||||
++ optional enableRDW networkmanager
|
++ optional enableRDW networkmanager
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user