diff options
Diffstat (limited to 'pkgs/tools/system/smartmontools/default.nix')
-rw-r--r-- | pkgs/tools/system/smartmontools/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/smartmontools/default.nix b/pkgs/tools/system/smartmontools/default.nix index d7bc0a2cb829e..a54c85bdaf922 100644 --- a/pkgs/tools/system/smartmontools/default.nix +++ b/pkgs/tools/system/smartmontools/default.nix @@ -4,8 +4,8 @@ , autoreconfHook , enableMail ? false , gnused +, hostname , mailutils -, inetutils , IOKit , ApplicationServices }: @@ -18,7 +18,7 @@ let sha256 = "sha256-0dtLev4JjeHsS259+qOgg19rz4yjkeX4D3ooUgS4RTI="; name = "smartmontools-drivedb.h"; }; - scriptPath = lib.makeBinPath ([ gnused ] ++ lib.optionals enableMail [ inetutils mailutils ]); + scriptPath = lib.makeBinPath ([ gnused hostname ] ++ lib.optionals enableMail [ mailutils ]); in stdenv.mkDerivation rec { |