diff options
author | Aristid Breitkreuz <aristidb@gmail.com> | 2014-09-06 20:10:19 +0200 |
---|---|---|
committer | Aristid Breitkreuz <aristidb@gmail.com> | 2014-09-06 20:10:19 +0200 |
commit | 0d357114129097b7978c79c371ff399fe85cd046 (patch) | |
tree | e8c3ebd2827570ff81a93010b0de17fe5b611d61 /pkgs/tools/system | |
parent | d54fd845bc785aa55913e7c65190738a944b1391 (diff) | |
download | nixlib-0d357114129097b7978c79c371ff399fe85cd046.tar nixlib-0d357114129097b7978c79c371ff399fe85cd046.tar.gz nixlib-0d357114129097b7978c79c371ff399fe85cd046.tar.bz2 nixlib-0d357114129097b7978c79c371ff399fe85cd046.tar.lz nixlib-0d357114129097b7978c79c371ff399fe85cd046.tar.xz nixlib-0d357114129097b7978c79c371ff399fe85cd046.tar.zst nixlib-0d357114129097b7978c79c371ff399fe85cd046.zip |
atd: use /var/setuid-wrappers/sendmail by default instead of ssmtp
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/at/default.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/tools/system/at/default.nix b/pkgs/tools/system/at/default.nix index 1dc36043ea9e..5108174c8870 100644 --- a/pkgs/tools/system/at/default.nix +++ b/pkgs/tools/system/at/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, bison, flex, pam, ssmtp }: +{ fetchurl, stdenv, bison, flex, pam, sendmailPath ? "/var/setuid-wrappers/sendmail" }: stdenv.mkDerivation { name = "at-3.1.15"; @@ -12,15 +12,11 @@ stdenv.mkDerivation { patches = [ ./install.patch ]; buildInputs = - [ bison flex pam - # `configure' and `atd' want the `sendmail' command. - ssmtp - ]; + [ bison flex pam ]; preConfigure = '' - export PATH="${ssmtp}/sbin:$PATH" - + export SENDMAIL=${sendmailPath} # Purity: force atd.pid to be placed in /var/run regardless of # whether it exists now. substituteInPlace ./configure --replace "test -d /var/run" "true" |