smartmontools: add hostname to runtime closure
This makes smartd notifications contain the hostname instead of "unknown". Total runtime closure size: Before: 46.1 MiB After: 46.7 MiB
This commit is contained in:
parent
3d340aedeb
commit
43052306ac
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
, autoreconfHook
|
||||
, enableMail ? false
|
||||
, gnused
|
||||
, hostname
|
||||
, mailutils
|
||||
, inetutils
|
||||
, IOKit
|
||||
|
@ -18,7 +19,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 [ inetutils mailutils ]);
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
|
Loading…
Reference in a new issue