wallabag: fix sending mails with sendmail

This commit is contained in:
Jan Tojnar 2022-10-26 20:15:23 +02:00
parent 3ca6e6613b
commit f3d6070f25

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
}:
# Point the environment variable $WALLABAG_DATA to a data directory
@ -31,6 +32,14 @@ stdenv.mkDerivation {
patches = [
./wallabag-data.patch # exposes $WALLABAG_DATA
# Use sendmail from php.ini instead of FHS path.
(fetchpatch {
url = "https://github.com/symfony/swiftmailer-bundle/commit/31a4fed8f621f141ba70cb42ffb8f73184995f4c.patch";
stripLen = 1;
extraPrefix = "vendor/symfony/swiftmailer-bundle/";
sha256 = "rxHiGhKFd/ZWnIfTt6omFLLoNFlyxOYNCHIv/UtxCho=";
})
];
dontBuild = true;