mailutils: Fix attempts to set unsupported ownership and perms

This commit is contained in:
Will Dietz 2017-06-28 13:44:31 -05:00
parent 179936d75c
commit d339dc762c

View file

@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
patches = [ ./path-to-cat.patch ./no-gets.patch ./scm_c_string.patch ]; patches = [ ./path-to-cat.patch ./no-gets.patch ./scm_c_string.patch ];
postPatch = ''
sed -i -e '/chown root:mail/d' \
-e 's/chmod [24]755/chmod 0755/' \
*/Makefile{,.in,.am}
'';
configureFlags = [ configureFlags = [
"--with-gsasl" "--with-gsasl"
"--with-gssapi=${gss}" "--with-gssapi=${gss}"