ssmtp: fix cross

This commit is contained in:
Robin Gloster 2018-11-29 05:50:02 +01:00
parent adaffa3c01
commit b014cdd292
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -26,6 +26,8 @@ stdenv.mkDerivation {
sed -e '/INSTALLED_CONFIGURATION_FILE/d' \
-e 's|/lib/sendmail|$(TMPDIR)/sendmail|' \
-i Makefile
substituteInPlace Makefile \
--replace '$(INSTALL) -s' '$(INSTALL) -s --strip-program $(STRIP)'
'';
installFlags = "etcdir=$(out)/etc";