about summary refs log tree commit diff
path: root/pkgs/applications/networking/feedreaders
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/feedreaders')
-rw-r--r--pkgs/applications/networking/feedreaders/rss2email/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/feedreaders/rss2email/default.nix b/pkgs/applications/networking/feedreaders/rss2email/default.nix
index 49b0aed865f9..4152c2772e10 100644
--- a/pkgs/applications/networking/feedreaders/rss2email/default.nix
+++ b/pkgs/applications/networking/feedreaders/rss2email/default.nix
@@ -16,6 +16,12 @@ buildPythonApplication rec {
 
   outputs = [ "out" "man" "doc" ];
 
+  postPatch = ''
+    # sendmail executable is called from PATH instead of sbin by default
+    sed -e 's|/usr/sbin/sendmail|sendmail|' \
+        -i rss2email/config.py
+  '';
+
   postInstall = ''
     install -Dm 644 r2e.1 $man/share/man/man1/r2e.1
     # an alias for better finding the manpage