From 444abd91dd110101eb693ee4b16ce7a7c6851787 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Mon, 9 Nov 2015 10:24:42 -0300 Subject: [PATCH] tlp: add pciutils and smartmontools dependencies When running `tlp stat`, `tlp` complained about missing tools. This patch should fix that. --- pkgs/tools/misc/tlp/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/tlp/default.nix b/pkgs/tools/misc/tlp/default.nix index 4f90b432d047..5210a07d7ffa 100644 --- a/pkgs/tools/misc/tlp/default.nix +++ b/pkgs/tools/misc/tlp/default.nix @@ -1,4 +1,5 @@ { stdenv, fetchFromGitHub, makeWrapper, perl, systemd, iw, rfkill, hdparm, ethtool, inetutils, kmod +, pciutils, smartmontools , enableRDW ? true, networkmanager }: let version = "0.8"; @@ -28,7 +29,7 @@ in stdenv.mkDerivation { paths = with stdenv.lib; concatMapStringsSep ":" (x: "${x}/bin") - ([ iw rfkill hdparm ethtool inetutils systemd kmod ] + ([ iw rfkill hdparm ethtool inetutils systemd kmod pciutils smartmontools ] ++ optional enableRDW networkmanager );