Hi mailutils dev(s), For packaging mailutils in Nix/NixOS I/we would like to have the "mail" program lookup the path to "sendmail" at runtime via the $PATH environment variable. See our upstream issue: https://github.com/NixOS/nixpkgs/issues/21008.
How to do that? I've tried to figure it out myself but I'm getting stuck in all the layers :-) What I've done so far is passing "--with-path-sendmail=sendmail" so that the (compile only time?) logic in ./paths is bypassed. But now "mail" aborts at runtime with access("sendmail", X_OK) = -1 ENOENT, and I don't see the appropriate place to put the path lookup so that this check passes. Best regards, Bjørn Forsman _______________________________________________ Bug-mailutils mailing list Bug-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-mailutils