Merge pull request #82817 from pacien/smartd-fix-hostname-notifications

smartmontools: fix missing hostname in notifications
This commit is contained in:
Silvan Mosberger
2020-08-22 16:09:14 +02:00
committed by GitHub
2 changed files with 6 additions and 5 deletions
@@ -1,4 +1,5 @@
{ stdenv, fetchurl, autoreconfHook
, mailutils, inetutils
, IOKit ? null , ApplicationServices ? null }:
let
@@ -24,6 +25,10 @@ in stdenv.mkDerivation rec {
patches = [ ./smartmontools.patch ];
postPatch = "cp -v ${driverdb} drivedb.h";
configureFlags = [
"--with-scriptpath=${stdenv.lib.makeBinPath [ mailutils inetutils ]}"
];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [IOKit ApplicationServices];
enableParallelBuilding = true;