diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-10-26 20:15:23 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-10-26 20:32:18 +0200 |
commit | f3d6070f25c3a6ed558f2a59b98f29184ba2982f (patch) | |
tree | 3ea616303b514416e7849597211090194a59ee5d /pkgs/servers | |
parent | 3ca6e6613b1c31b2259ca759cb439687359bc4eb (diff) |
wallabag: fix sending mails with sendmail
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/web-apps/wallabag/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/wallabag/default.nix b/pkgs/servers/web-apps/wallabag/default.nix index f72ba35d25471..955eac2c6c334 100644 --- a/pkgs/servers/web-apps/wallabag/default.nix +++ b/pkgs/servers/web-apps/wallabag/default.nix @@ -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; |