about summary refs log tree commit diff
path: root/pkgs/applications/networking/feedreaders
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2018-02-15 13:36:24 +0100
committerProfpatsch <mail@profpatsch.de>2018-02-15 13:55:33 +0100
commitda71b8fd5f3ef3e93a693873e27dcb97ea1b6234 (patch)
tree16e63688afd8e5533ed20f0b0202742c7f4a0c28 /pkgs/applications/networking/feedreaders
parentc4af2ca2cb668e1ffe2691d0aeeeffacdcbd563f (diff)
downloadnixlib-da71b8fd5f3ef3e93a693873e27dcb97ea1b6234.tar
nixlib-da71b8fd5f3ef3e93a693873e27dcb97ea1b6234.tar.gz
nixlib-da71b8fd5f3ef3e93a693873e27dcb97ea1b6234.tar.bz2
nixlib-da71b8fd5f3ef3e93a693873e27dcb97ea1b6234.tar.lz
nixlib-da71b8fd5f3ef3e93a693873e27dcb97ea1b6234.tar.xz
nixlib-da71b8fd5f3ef3e93a693873e27dcb97ea1b6234.tar.zst
nixlib-da71b8fd5f3ef3e93a693873e27dcb97ea1b6234.zip
rss2email: sendmail from PATH instead of /usr/sbin
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