mdadm: call /var/setuid-wrappers/sendmail instead of /usr/sbin/sendmail

This commit is contained in:
Bas van Dijk 2016-05-04 13:20:39 +02:00
parent 0f1293a488
commit a941c7e27b

View File

@ -29,7 +29,9 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-std=gnu89";
preConfigure = ''
sed -e 's@/lib/udev@''${out}/lib/udev@' -e 's@ -Werror @ @' -i Makefile
sed -e 's@/lib/udev@''${out}/lib/udev@' \
-e 's@ -Werror @ @' \
-e 's@/usr/sbin/sendmail@/var/setuid-wrappers/sendmail@' -i Makefile
'';
meta = {