From a4764363a2d256669c2fce2c9a202eba66d6a387 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 5 Feb 2023 17:20:50 +0100 Subject: [PATCH] Revert "wallabag: Drop swiftmailer patch" The patch is still needed in 2.5.3. It was removed because it did not apply to previous tarball, which was accidentally generated from wrong branch. It applies again after 2692bb8570e09a255a2e81a6f2f911df9d6b9ef4. This reverts commit 91391118c7a19c11f9cf2b95f6d0b84dfe04794e. --- pkgs/servers/web-apps/wallabag/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/servers/web-apps/wallabag/default.nix b/pkgs/servers/web-apps/wallabag/default.nix index fda8dda9891a..956f33ca7404 100644 --- a/pkgs/servers/web-apps/wallabag/default.nix +++ b/pkgs/servers/web-apps/wallabag/default.nix @@ -32,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;