@@ -1,4 +1,5 @@
11{ stdenv, fetchurl, autoreconfHook
2+, mailutils, inetutils
23, IOKit ? null , ApplicationServices ? null }:
34
45let
@@ -24,6 +25,10 @@ in stdenv.mkDerivation rec {
2425 patches = [ ./smartmontools.patch ];
2526 postPatch = "cp -v ${driverdb} drivedb.h";
2627
28+ configureFlags = [
29+ "--with-scriptpath=${stdenv.lib.makeBinPath [ mailutils inetutils ]}"
30+ ];
31+
2732 nativeBuildInputs = [ autoreconfHook ];
2833 buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [IOKit ApplicationServices];
2934 enableParallelBuilding = true;