summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2022-11-29 15:33:02 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2022-11-30 11:44:09 +0100
commit574d400589569e0390be8bf6083cd30952c24eb7 (patch)
tree28f244437375dfa8a5054aca52f851faab440828
parentsmartmontools: add hostname to runtime closure (diff)
downloadnixpkgs-574d400589569e0390be8bf6083cd30952c24eb7.tar.gz
smartmontools: remove unneeded inetutils
It was only needed for 'hostname', which is now provided by the 'hostname' package, which has smaller storage footprint. (cherry picked from commit e01e2d3978046735926ba41088f038d7b7ad6552)
-rw-r--r--pkgs/tools/system/smartmontools/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/system/smartmontools/default.nix b/pkgs/tools/system/smartmontools/default.nix
index c1749030d6dd..a54c85bdaf92 100644
--- a/pkgs/tools/system/smartmontools/default.nix
+++ b/pkgs/tools/system/smartmontools/default.nix
@@ -6,7 +6,6 @@
, gnused
, hostname
, mailutils
-, inetutils
, IOKit
, ApplicationServices
}:
@@ -19,7 +18,7 @@ let
sha256 = "sha256-0dtLev4JjeHsS259+qOgg19rz4yjkeX4D3ooUgS4RTI=";
name = "smartmontools-drivedb.h";
};
- scriptPath = lib.makeBinPath ([ gnused hostname ] ++ lib.optionals enableMail [ inetutils mailutils ]);
+ scriptPath = lib.makeBinPath ([ gnused hostname ] ++ lib.optionals enableMail [ mailutils ]);
in
stdenv.mkDerivation rec {